|
Implementing Sql Object Dependency?
If there was no such technology like MSMQ how would you try to
implement an sql server object dependency in your windows forms
application? Say I just want to keep updated with the information in a
particular table.
--deostroll...
|
6 |
12/30/2008 4:58:35 PM |
|
Scrolling control under mouse cursor
I'm looking for a way to smoothly scroll the control under the mouse cursor
(not necessarily part of my application). I'm using C# with WindowFromPoint
to get the handle, and I've tried SetScrollPos and ScrollWindowEx without any
success. I'm simulating mouse wheel events right now, but this only scrolls
the active window and doesn't allow horizontal scrolling except in Vista.
Also, i...
|
1 |
12/30/2008 8:30:01 AM |
|
is begininvoke like CWinThread::PostThreadMessage in mfc?
if not, what would be?
Also how do you start different threads that have event loops in .net.
could I do it like this?
static void Main()
{
new Thread(newform).Start();
new Thread(newform).Start();
}
public static void newform()
{
Form f = new Form();
Application.Run(f);
}
thx...
|
2 |
12/30/2008 6:31:16 AM |
|
Surprising threading issue
In my app, I need to connect to an external web service. I need to
connect to it about 100 times per request and so i use threads to
quicken the processing. Since the external web service accepts only 5
requests per second, I need to check for that too.
I use Jon Skeet's CustomThreadPool class for the Threads (because i
dont want to use the ASP.NET thread pool and I dont have nearly enough
...
|
15 |
12/30/2008 5:17:59 AM |
|
Running LINQ Sample queries
I am a newbie to LINQ and started with CSharp samples which shipped with
VS2008. Are there any other links to look at. Any suggestions
Thanks
...
|
6 |
12/30/2008 2:50:01 AM |
|
to find and colour if it is a duplicate...
I have a very large spreadsheet that I need to compare with another and find
the duplicates between both and delete them.
I would prefer to have the duplicates first highlighted [shaded or coloured]
so I can review them before deletion...
what formula would I use to do this? I'm rather new the excel and know a
little bit more then the basics.
Any help would be appreciated!...
|
2 |
12/30/2008 2:49:56 AM |
|
Some problem on installing VS 2005.
This is a second post (for 2 first questions), since last week, since I
didn't see any replies, and there is a chance the thread was deleted.
Hello.
I want to install the visual source safe for VS 2005.
I have installed the VS 2005 with no source-safe.
The Visual studio's version is : Pro 2.0.50727.
The Windows' version is : XP pro.
1. I used before the source-safe database of : VS6....
|
2 |
12/29/2008 4:23:49 PM |
|
using fileSystemObject on VS 2005
Hello.
For VS 2005, with XP installed,
using VB.
I am calling :
dim fs as Scripting.fileSystemObject
....
fs.deleteFile
....
I got the exception (the VB 6 code was fine, but after translating to VB
2005, there was the problem) :
error 5, procedure call or argument is not valid.
Is that related to a line :
fs = nothing.
(I saw that it is recommended to do : fs.dispose(),
but I ...
|
2 |
12/29/2008 1:02:45 PM |
|
HttpListener with OpenSSL
I have been googling for the HttpListener support for OpenSSL. But
unable to find any good article. Kindly if anyone could provide me
with the working example. This will be highly appreciated.
Thanks
Mubashir...
|
2 |
12/29/2008 12:50:41 PM |
|
large image
Dear guru's
This code doesnt work (VB).
My quest is how this big image crop and display in picturebox. Thanx
bmp = New Bitmap("C:\diagnostics5.jpg") ' dimension 40000 x 400 !!! in 16bit
PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox1.Image = bmp.Clone(New Rectangle(0, 0, 100, 200),
Imaging.PixelFormat.Format16bppRgb555)
...
|
7 |
12/29/2008 9:08:00 AM |
|
How to create a WaitHandle on a native HANDLE?
I'm using interop (PInvoke) to call a method
(FindFirstPrinterChangeNotification) which returns an event handle. I would
like to stay as much as possible in managed code so I want to get this native
event handle into a managed WaitHandle so I can call one of the WaitHandle's
Wait() methods. How do I do this?
The only way I see is to either:
1. Create an EventWaitHandle instance and...
|
3 |
12/29/2008 7:14:11 AM |
|
Having disconnections with SQL Server using a wireless connection with NET 2.0
Hello,
I've an aplication written in C# (NET Framework 2, not Compact) that
connects to SQL Server using a wireless connection with
System.Data.SqlClient, connecting to SQL Server using TCP/IP protocol.
I've small disconnections all the time. Doing a "ping -t SERVER" I lost
10% of the pings, but never more than two together.
The problem is that when I get disconnected the application...
|
5 |
12/29/2008 5:11:09 AM |
|
problem with xbox 360 controlls and vista!
hello!
I´ve had the pes 2008 game for a year now and it has been working perfectly
until now. I use Xbox 360 wireless controllers to the game.
Suddenly, one day, when I start the game it has some problem to connect to
the controllers. I´m using usually 1 or 2 controllers but the game always
tries to connect some more controllers and keep doing it making the game
impossible to play! Be...
|
2 |
12/29/2008 12:17:31 AM |
|
Specify referenced modules
Using reflection, I'm trying to dinamically load an assembly and call a
method from one of the class inside. I use Assembly.Load(), then GetType()
to find a class, then GetMethod() to find a method of the class. When I
invoke it it works ok but it doesn't work if this method is calling some
method from some class in a referenced assembly. I expected this because the
referenced assembly c...
|
1 |
12/28/2008 10:46:06 PM |
|
IP and DNS settings
Where do I go to view my IP and DNS/Gateway settings?...
|
2 |
12/27/2008 5:59:19 AM |
|
XP Desktop icons move on restart
I have Windows XP Professional ver.2002 w/ SP3. Everytime I restart or login
my desktop icons move around. I have all the options unchecked in the
"Arrange icons by" option box when right clicking on the desktop. Is there a
solution to lock the icons so they do not move ?
Thank You
Steve...
|
2 |
12/26/2008 9:40:42 PM |
|
Visual studio 2008 IDE application R6034 runtime error - MSDN news group moderator Please Respond.
I am getting a Visual studio 2008 IDE application R6034 runtime error. This
means that the IDE application is raising the error not the application I am
building. This means that Microsoft did not follow its own advice as listed
in http://msdn.microsoft.com/en-us/library/ms235560(VS.80).aspx and "build
with a manifest". The DLL in question seems to be msvcr8.0.dll which is the
VS2005 C r...
|
5 |
12/26/2008 9:00:54 PM |
|
Understanding Installers
Hello,
I wrote a Windows service in C# (.NET 1.1). As usual, it has its own
ProjectInstaller which is automatically invoked when I run
"InstallUtil myservice.exe". But I also have two separate class
libraries (from the same solution) which are referenced by my service.
They both have their own Installers with [RunInstaller(true)]
property, because there is some code that should be run. I w...
|
1 |
12/26/2008 2:24:13 PM |
|
[. Net, NTFS] Filename
There is a certain sequence of characters. Must make it a file name. To do
so, should replace all unsafe characters like: \ ", as well as verify the
uniqueness of the name. Does. Net service for such things?
http://www.alvas.net - Audio tools for C# and VB.Net developers + Christmas
Gift
...
|
3 |
12/26/2008 10:08:16 AM |
|
Read input value from dynamic created input controls
Hi all,
I need help on reading input value from dynamic created input controls. What
is the control ID to use after input is posted back to the server? My code
below does not get anything although the input values were displayed
correctly in the Textbox on the screen after posted back.
Thanks in advanced!
Here is the sample code:
if (!IsPostBack)
{
TextBox oTextBox;
for...
|
2 |
12/26/2008 7:48:38 AM |
|
Deploy satellite assemblies
I have an app deployed with clickonce.
In this app I am using some custom assemblies (DexExpress controls) deployed
also with clickonce (not in GAC).
For theese assemblies I have also some satellite assemblies for romanian
language.
I've copied theese sattelite assemblies in bin/debug/ro folder and from
visual studio it's working fine.
How can I deploy theese satellite assemblies wit...
|
2 |
12/23/2008 4:53:51 PM |
|
DataContractJsonSerializer Serializes item, then cannot deserializ
the JSON that is being emitted is being stored in a DB as an object state,
then fails to deserialize properly from that value. We've simplified it,
bypassing the database, encoding, etc and it still fails, however we are
serializing the exact same types in other areas of the application using the
same shared method and they all work just fine.
Here is the JSON that it is blowing up on:
...
|
2 |
12/23/2008 3:53:01 PM |
|
Graphic library in native .NET ?
Hi:
Any of you know any graphic/2d library/project written in native .NET?
Thanks!...
|
11 |
12/23/2008 8:51:25 AM |
|
Strange System.Security.Authentication.AuthenticationException
Hi guys,
I have a strange problem in a piece of code that used to work on my
computer. The code is the following
Private Function _CreateFTPRequest(ByVal url As String, ByVal user As
String, ByVal password As String, ByVal method As String) As
System.Net.FtpWebRequest
Dim request As System.Net.FtpWebRequest = DirectCast
(System.Net.FtpWebRequest.Create(url), System.Net.FtpWebRequest...
|
1 |
12/23/2008 8:13:25 AM |
|
Strange System.Security.Authentication.AuthenticationException
Hi guys,
I have a strange problem in a piece of code that used to work on my
computer. The code is the following
Private Function _CreateFTPRequest(ByVal url As String, ByVal user As
String, ByVal password As String, ByVal method As String) As
System.Net.FtpWebRequest
Dim request As System.Net.FtpWebRequest = DirectCast
(System.Net.FtpWebRequest.Create(url), System.Net.FtpWebRequest...
|
1 |
12/23/2008 8:11:27 AM |