_Raj_'s Q&A profile
Visual Studio Express Editions BindingNavigator
Hay, Whit this code i try to go to a reccord whit an BindingNavigator Dim ring As String ring = InputBox( "Type een ringnummer" , "Ring nummer" ) If ring = "" Then Exit Sub Else Me .TVogelBindingNavigator.Items.Find(ring, True ) End If Is this correct or what do i wrong. I use this code in the changed event , but thanks for the RE: Dim index As Integer Dim zoekstring As String zoekstring = Me .BindingNavigatorTextBoxZoeken.Text index = TVogelBindingSource.Find( "Ring nummer" , zoekstring) M ...Show All
Windows Forms Problem deploying MSDOS executable
Hi, Here's an odd one ! My app. uses a legacy MSDOS com executable which I deploy along with other support files. My app works fine after deployment, however when I try to access the com executable -either from the app. or directly - I get a Win32 exception "The parameter is incorrect". If I copy the com executable to another folder it works fine. It looks very much as if it's an access rights problem but I can access other files (eg text files) in the deployment folder directly without problem. Thanks for any help Jon Hi Sreekanth, Thanks for responding. As I sa ...Show All
Windows Forms Deploying .net Apps on a machine without .net framework
hi Can I deploy my .net application on a windows 2000 workstation without .net framework installed on it. sunil Not quite sure why W2k is a problem The framework runs on w98 as well so what does w2k have to do with it ...Show All
Visual C++ How to Copy form CDC dcMem1 to CDC dcMem2?
Hi! I defined a public CDC member(dcMem1) and I Have 2 Function that must used this member.but when I compiled show this error : Debug Assertion Failed! what should I do I think that must to define another member(dcMem2) and Copy from dcMem1 to dcMem2! is this allRight (maybe I'm stupid) It's not clear to me what you're trying to do, but a public CDC as a member variable seems like a bad idea to me. What does it contain What's the debug assertation What line in the MFC source code is creating the ASSERT ...Show All
.NET Development Timer - in W98 fails, in WinXP OK
I think, that I found another bug in .NET Framework 1.1. My programs works very well under Windows XP, but under W98 (tested on many computers) fails. After weeks of research I realized that one problems is in the System::Timers::Timer class. I use timer like this: System::Timers::Timer* timer = new System::Timers::Timer(1000); timer->Elapsed += new System::Timers::ElapsedEventHandler( this , CasVyprsel); timer->AutoReset = true ; timer->Start(); This should fire events every second and in WinXP it really does, but in W98 it fires only several times. Sometimes it fires only 2 events, sometimes 5, sometimes 3 a ...Show All
Visual C# socket exception
ok made a very very good class server it can handle to 3879 clients but when it reach 3880 it throwes an exception like that says that it cant perform operation on a system socket because the socket`s quenque is full hi, you can ask this question in .net networking forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=40&SiteID=1 ...Show All
.NET Development Thread safety of socket.BeginSend()
I've read that "The Socket class is not thread-safe at the instance level." (http://www.thecodeproject.com/csharp/XYNetSocket.asp). My question is, can one BeginSend() operation interrupt a previous BeginSend() on the same socket instance What are the implications of concurrent sockets access with BeginSend() Do I need to lock the socket object before I call BeginSend() Another quick question, according to MSDN documentation, "You can create a callback method that implements the AsyncCallback delegate and pass its name to the BeginSend method.". Do I HAVE to have a callback method, and what are the implications of not having a callback me ...Show All
Visual Studio Has anyone add a VS Beta2 2005 project to VSS 2005?
Hi Scott, See the answers in this post http://forums.microsoft.com/MSDN/showpost.aspx postid=130620&siteid=1 Alin ...Show All
.NET Development Handling whitespace with XmlSerializer
My problem is this: I have an XML file with mixed content, where some of the text nodes might be whitespace I need to preserve. For example: <root><child> <child2/>Text 2<child2/></child></root> I want the white space after the <child> node to exist as a text node. My serialized classes are: [ XmlRoot (ElementName= "root" )] public class RootElement { [ XmlElement ( "child" )] public Child child; } public class Child { [ XmlAnyElement ] [ XmlText ] public XmlNode [] content; } Since I don't know the content of <child>, ...Show All
Visual C# Multi line Registry Key
Hi, I'm currenty working on an API for Windows CE and I saw a little thing I would like to be sure. When I get a registry Key and recognize it as as multiline, I put everything in a list, but when I watch on it there is some values I can't see on Windows CE Remote Registry Editor. This is my code sample: case RegistryValueKind.MultiString: List<string> L = new List<string>(); string[] values = (string[])Key.GetValue(RegName ); for (int j = 1; j < values.Length; j++) L.Add(values[j]); This is the values I get in my list: "9,G " "9,1FG" "9,011,EFG" "425&qu ...Show All
Visual C# Windows Media Player
Ok. I have a windows media player control on my form. I need to know how to make it play a wav file that is on my desktop. Can someone help me please. myWindowsMediaPlayer.URL = myWavfileURL; myWindowsMediaPlayer.Ctlcontrols.play(); ...Show All
SQL Server SSIS Delete/Insert/Update
I am still learning SSIS. What is the best way to do delete/insert/update in a database in SSIS. I am looking to achieve something similar to what was there in a Data Driven Query in SQL Server 2000. I would like to delete/insert/update the destination table based on the condition that my lookuptable returns For ex If "the user in my source table has changed the status" Then Update the user row in the destination table Else skip the row If "the user in my source table has delete flag =1 " Then Delete the user in the destination table Else skip the row If "the user in my source table is new( ...Show All
SQL Server Nudging nodes up and down one position in SQL Server 2005
With the following xml snippet, <folder id="B4790C9E-64B2-4818-B639-DB813A231A3F" name="oceans"> <folder id="26A62C24-51D0-42CB-9AEF-6A716F1BFE4" name="pacific" /> <folder id="77446ECF-5178-40BA-915B-2CD52B672452" name="atlantic" /> <folder id="AC78A55B-BDFF-473B-BC95-D113F23BC2C1" name="indian" /> </folder> I'd like to nudge the node for 'indian' above the node for 'atlantic' at the database level (i.e. not xslt). I've got the deletion part working ok, by assigning the value of the node containing 'indian' to a variable of type xml called @focusNode I can then safely delete the n ...Show All
Visual Studio Express Editions RSS Screensaver Starter Kit
This thread is the place to ask questions and provide feedback for the RSS Screensaver Starter Kit. BigJoe wrote: How does the RSS Screensaver Starter Kit generate the *.scr file I cannot find any settings or custom steps for this file. Other than the instructions below on how to compile and install the application, I do not or have not seen adaquate instructions on how to build the exe as a .scr file. Installing the Screen Saver on Your Computer The following steps describe how to install the screen saver application on your computer. To install the screen sa ...Show All
Visual C# program exit????
i trying to learn c# but when i try start/debug it. i say The program '[3864] WhatDay1.exe' has exited with code 0 (0x0). it does whit all the labs so fair help me plz what does this means and how to fix it that means everything ran ok ( Error code 0) I believe the 3864 is the process ID nothing to fix. ...Show All
