Hi i have explained the scenario in one of my earlier questions in the link, http://stackoverflow.com/questions/4008156/how-to-call-functions-of-a-com-dll-in-vc-from-a-vc-exe-application/ and also the answer helped me to a great extent. . My calling application is building perfectly. But I am encountering problem, when I am debugging th...
Hi guys,
Look at here (Abstract Class Design): http://msdn.microsoft.com/en-us/library/ms229047.aspx
It says:
(1) Do not define public or protected internal (Protected Friend in Visual Basic) constructors in abstract types.
In C#, we are not able to instantiate an abstract class. So, does it still matter to define public constructors...
In a string, replace every occurrence of <0xYZ> with the character of hex value YZ. The < and > characters will be used only for that purpose, the string is guaranteed to be well formatted.
Example ('0' = 0x30): A<0x30>B => A0B
It's an easy task, but there are many solutions and I was wondering about the best way to do it.
...
Hi,
In my scenario I synchronize client database SQLCe with server database Sql Server 2008.
Client database is in users folder so that connection string is built dynamically on each app.
Is it possible to set dynamic connection String in syncprovider ?
thanks for any help
...
Where do you see operation scenarios for parallelism/multi-threading/PLINQ etc for a single threaded WPF desktop app with sqlite?
I would like to know wether I could tune my application somehow and even when it is just for the learning effect :)
...
This article shows how to create a custom activity in a rehosted Workflow designer (with Workflow Foundation 4). In that example, a MyDelayActivity is created by implementing the IActivityTemplateFactory interface, and specifying the default value to the Delay inputs.
However, is it possible to modify the inputs of the activity as well...
Hi All,
First of all thanks to all, now I am getting the dropdown value change on the selection of first dropdwon. PFB the source code.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TestE...
Hi,
I'm trying to get the JQuery jqModal extension to work as a confirm box, as per the example given on the jqModal website ( http://dev.iceburg.net/jquery/jqModal/ ), and incoprate this function into a dotnet usercontrol so I can re-use it over the website.
This is the code I've written so far. The control has a TriggerID property wh...
Hello, I am using VB .NET 4.0, ISS 7.0.
I wondered how can I set the default locale for all applications?
The problem is rising when I have a Response.Write(str) the numbers appear with ","(german notation) rather than "."(us notation).
From where .NET knows that he need to use the german locale?
In every my js script I have added
...
We have a large POSTGRESQL transactional database (around 70 million rows in all), and have previously created a data warehouse from this (updated daily) to run reports off of.
To make this more flexible (as lots of different users require different reports and aren't very good at specifying what they want) we would like to create a mul...
I'm writing dll which must run a function multiple times using different parameters, parallell to everything else.
I've tried the following methods:
Backgroundworkers
MethodInvoker
Threads
etc
What's the best way to do it?
Update:
I'm writing a dll, no GUI involved
...
I have images in folder Images in my windows phone solution. How can i get collection of images in this folder? Build Action of all images is "Content".
...
Hi all,
I have a .Net Remoting server that can accept connections from my remote client app. During the initialization of the client application, it calls ChannelServices.RegisterChannel and then RemotingServices.Connect to create a channel and connect to the server. Every customer has a unique id that we are using for the channel name.
...
Basically, when i use vb.net or c#.net to do this, it works perfectly, but when i use vb6, it doesn't work, in my for loop where the relevant service in the relevant device is captured, here is the code that returns no result...
' serv is properly declared and instantiated by the for loop.
Dim xins(0)
Dim xouts(0)
...
Is this possible with Code First? I could do this if I only used Entity Framework:
var q = from m in context.Products
.Top("0")
select m;
...
What is the consensus here?
I have a VB6 app using Interop to utilise .NET assemblies. Could I use Reg-Free COM to 'register' the .NET assemblies?
...
Hi,
I need to design perfect worker thread method. The method must do the following:
1) extract something from queue (let's say a queue of string) and do something
2) stop and return when class is disposed
3) wait for some event (that queue is not empty) and do not consume cpu
4) run in separate thread
Main thread will add string to...
In this other question it shows how to get all days of a month. I need the same thing, but I only want to list days of week (I want to exclude weekends).
How can I get a list of days of a month excluding weekends?
...
basically, here is the address... http://opentools.homeip.net/dev-tools-for-upnp
they are the recommended dll's to use for upnp as they implement the standards better then microsofts upnp.dll - but the intels open source upnp tools have absolutely no documentation, not on their website, not on any other website. is there a reason for th...
Hello,
Is it possible to monitor all printing acctivities from service installed locally for example save all files which are going to be printed on any printer and save them to file in any format ?
Im talking about .net solutions
thanks for any answers,
bye
...