A Pham's Q&A profile
Visual Basic label wont update text
I have a group of dynamic label controls hosted in a groupbox. I have created event handlers for dbl click which pops up a dialog box to alter the text property of the control.For some strange reason the change only occurs if I minimise and then maximise the form. ANy ideas cheers hi kiwicoder2 even i am facing the same problem. please tell me how did u resolve by Reloading all the controls. How did you reload all the controls Regards ...Show All
SQL Server SSIS ExecuteSQL wierd error
hi all! i have encountered an inconsistent error while creating packages programatically. i am trying to create an ExecuteSQL Task like this: ExecuteSQLTask sqlTask = ( ExecuteSQLTask )sqlTaskHost.InnerObject; and somtimes it failes on this command with this error: < Message > Error in generating package C:\PROJECTS\POSTAL\Build\SSIS packages\Mappings\Mappings\SBSCR_52_OUT.dtsx </ Message > < InnerException > Type 'Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask' in Assembly 'Microsoft.SqlServer.SQLTask, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' is not marked as serializable. </ InnerException > < Data /> < Source > mscorlib </ Source > ...Show All
Visual C# How to add data to a datagridcombocolumn when another datagridcombocolumn is selected ?
Hi all, I have a datagridview which has 4 columns as below. DataGridViewTextBoxColumn dgvTxtMaterialID = new DataGridViewTextBoxColumn (); DataGridViewComboBoxColumn dgvCmbMaterialType = new DataGridViewComboBoxColumn (); DataGridViewComboBoxColumn dgvCmbMaterialName = new DataGridViewComboBoxColumn (); DataGridViewTextBoxColumn dgvTxtQuantity = new DataGridViewTextBoxColumn (); ------------------------------------------------------------------------------------------------------------------------ | dgvTxtMaterialID | dgvCmbMaterialType | dgvCmbMaterialName | dgvTxtQuantity | ------------------------------------------------------------------------------------------------------------------------ ...Show All
Windows Forms Datagrid editing!
hi there! could some one help me wit the issue of doubleclicking on a datagrid and when you dobleclick it can send you to a another winform the idea is that I fill my datagrid form a table and i want to edit the info of the line that I selected, not in the datagrid i wan to edit it in another form, so when i doubleclick that line it can open the form where i gonna edit the info. thanx you are aware that you can edit in the datagridview as well as delete and add data, then calling the Update() method of the SqlDataAdapter right you dont need to show a new form with data just to edit certain data as this can all be done within the same datagridview. the data source is what you need anyway, if you need to bind data to UI ...Show All
Visual Studio Team System Merge, Rollback issue
I have a Dev, Test and Prod branch. I merged the new changes that were done in Dev branch to the Test branch. New changes are: changesets number 100,101,102. I merged only 100 and 102 as 101 was not ready yet. Now, this merge creates a new changeset i.e. 103. I see some issues in the test line and then I rolled back the changesets 103 and checked it in which creates a new changeset 104. Now, I couldn't find a way to merge 102 back again. When i merge, I have 2 options: 1)All changes to specific version 2)Selected changesets. Lets take the second option first. It shows only 101 changeset available to be merged. It doesn't show me 100 and 102 anymore. Now, lets take the first option i.e. "All changes to specific version". When i s ...Show All
Windows Forms Extremely slow painting on TabControl, GroupBox and Label with transparent back color
I'm using .Net 2.0 and I feel the painting speed of TabControl, GroupBox and Label are extremely slow on a WinXP / Win2K3 with theme enabled . For example, I create a TabControl and add 3 tab pages. And then I add a GroupBox on a tab page, and add 10 Label into the group box just added, back color of all group box and label are set to transparent . Copy the group box and paste 9 times on the first tab page, there are 10 group boxes and 100 labels on the first tab page finally. Then I copy all groups boxes and labels to second and third tab page. When I run the application, and try to switch tab page, it would have 3-5 seconds delay. The application paints the label and group box one by one in very slow speed. ...Show All
Internet Explorer Development IE7 and .net
Just a very basic question regarding IE7 add on development. Can we (i guess we can) create IE addons in .net (C# or VB.net). If yes, can we use .Net Framework 3.0 for this purpose. I hope this should work for client machines having vista them, but not sure whether it will work for client machines having IE7 on Windows XP (or Win XP SP2) I have several BHOs written in C#. I got started by using the example at http://www.codeproject.com/cs/samples/autosig.asp and another good one was http://www.codeproject.com/csharp/BandObjects20.asp df=100&forumid=306921&exp=0&select=1678619 Between these two you will be writing bhos with visible interfaces in no time. Regards, Gary Blakely www.deanblakely.com ...Show All
Visual Basic Executables as Project References.
I have inherited a distributed application that has 4 servers and one client. 3 of the servers are also clients to one of the servers. The clients have the Server Executables added in the client's "Project Referrence". In particular, the client app has added a Reference to the executable of one the servers. The client app makes use of one of the classes declared in the Server's project. Moreover, this class has a method to add messages to a collection running on the server. Everytime I call this method from the client app a message is added to the collection that runs in the server. I don't understand why this is happening. Question: By using this Server's Class, does it mean that the client app is communicating to the ...Show All
.NET Development Out of Memory Exception
Hi all, I'm getting a very weird out of memory exception with very large MTOM responses using WSE 3. Basically any response > 30 megs in size is getting the error in StringBuilder listed below. It just started to occur and NO CODE has changed. It's like the latest security patch for .NET that was released started this or something, I'm not sure. Does anyone have any ideas on what's happening Thanks! James Hancock Exception Stack: [OutOfMemoryException]: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) at System.Text.S ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where do I get the Framework?
Everyone seems to be using it. Where do I grab this stuff Yes there was a Beta 1 and no, you don't need it to run Beta 2. If you install XNA Game Studio Express, you will just launch that to have access to the XNA Framework. It's basicall the C# Express IDE with the XNA tie ins. ...Show All
Visual C++ error lnk1181
Hi, I am getting this error with the lib files RTS32D.lib and CTS32D.lib. What does this mean. Thanks & Regards, Ravi kanth Lnk1181 means that it can't find those files. Put them in the your project folder. RTS32D.lib and CTS32D.lib are not standard library files. Judging from the names, they are some kind of custom serial port utility libraries. ...Show All
Windows Forms Disable Windows XP Repair-Install Setup
I would like to know how to stop, shut off or disable a Windows repair-install process. I have a second Windows XP OS installed on another partition that gives me access to my primary OS. Is there a way to access and remove the setup files so that the primary OS boots normally PiroNaut _______________________________________________________________________ Dimension XPS 600, IntelR PentiumR D CPU 3.20GHz, 1.00 GB RAM, 500 GB Hard Drive, Dual Windows XP Media Edition Operating Systems, Partitions C-D-E This forum is NOT for Windows trouble-shooting questions: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=152532&SiteID=1 ...Show All
Smart Device Development [C#] Read the phonenumber
Hello, I'm french, sorry for my english. I try to read the phonenumber in my SimCard, Can you help me Thanks Well I don't know the answer myself but a quick search of msdn library... http://search.msdn.microsoft.com/search/default.aspx siteId=0&tab=0&query=sim+card+phone+number ...turns up this site that has your answers... http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/netcfphoneapi.asp -Noah Falk .Net Compact Framework ...Show All
Windows Forms Common Language Runtime Debugging Services Application has generated an exception that could not be handled
Our custom got an error when startup our .NET windows form application. XXXXX.exe - Common Language Runtime Debugging Services Application has generated an exception that could not be handled Process id=0x654(1620), Thread id = 0x5b0 (1456) Click OK to terminate the application Click CANCEL to debug the application If they click on "CANCEL" then following error message appears: Registered JIT debugger is not available. An attempt to launch a JIT debugger with the following command resulted in an error code of 0x2(2) Please check the computer settings cordbg.exe !a0x654 Click on Retry to have the process wait while attaching a debugger manually. Click on Cancel to abort the JIT debug request We can not duplicate this p ...Show All
.NET Development Web Service Proxy Support in the .NET Framework 2.0. Problems Resolving Host Name. .PAC
We have an Proxy Auto-Configuration (PAC) file that uses the isInNet function to determine if the current request should be directed to our proxy server for external requests or be a direct connect if connecting to an internal server. We have a .net 2.0 client application that makes a call to a webservice. If the webservice’s url is configured with the host name (http://WebServer/WebServices/simple.asmx) we get an “The proxy server could not handle the request” error message. If we configure the webservice url to use the IP address (http://169.12.50.5/WebServices/simple.asmx) the webservice call works fine. If we remove the configuration for the .PAC file on the client machine both urls will work for the ...Show All
