MurfMan's Q&A profile
Visual C# Resetting d3device error
Is there any procedure before and after resetting the directX device I want to make the toggle fullscreen function , but when I restart the device , there are errors (sometime the error is unknown , sometime it throws DeviceLost Exception). I can start the directX device at the beginning , but if i change the presentationParams and reset the device , it occur error. My code is like this : void initdevice(bool fullscreen) { PresentParamet ...Show All
.NET Development Is It Necessary To Use Primary Key With Access Database --> How To Prevent Displaying Default Primary Key
I had to create a default primary key (numbered from 1 to N) column with my Access database in order for my application to work. Is there an easy way to make my table visible without displaying the primary key How do I do this Please give me information by posting the exact sequence of button clicks, things to type, etc that I must perform My component tray has a BindingNavigator, TableAdapter, Binding Source, and a DataSet. ...Show All
Smart Device Development Winsock and timeout under WM5
Hi everyone, My application connects to a server using GPRS. Since the application is running in the backgroung, I want to ensure that whenever the user presses the red key (stopping GPRS connection), the appli connects again. I could achieve that but the thing is that now, my server is asked to reply as late as possible (to minimize GPRS traffic). When a request is sent, the appli is waiting for an answer, if I press red button at that time, th ...Show All
Visual Studio Express Editions ws2_32.lib fatal error LNK1136: invalid or corrupt file
I hate to ask such a basic quesion. Does anybody know where I could get a fresh copy of ws2_32.lib I've spent about 5 hours searching for this file now. I really appriciate any help. Thanks in advance, Josh P. Josh Pendergrass wrote: Does anybody know where I could get a fresh copy of ws2_32.lib The file is in the Platform SDK /lib directory. You can obtain a copy ...Show All
Visual Studio Can I use the .Net Framework 2.0 with Visual Studio 2003?
Are .Net 2.0 and VS 2003 compatable or do I have to upgrade to VS 2005 Sorry you can use the .net framework 2.0 with visual studio 2003. You can download the express editions of visual basic, c#, c++, sql, and web developer for free. msdn.microsoft.com/vstudio/express ...Show All
Visual Basic How do I enable Drag Drop Events on my Designer for my Control
I have a ControlDesigner derived class and I set the EnableDragDrop to true and I never receive any drag drop events on my designer. What's up with that I know that with regular winforms controls, you have to write both a DragEnter and a DragDrop handler. In the DragEnter you should set e.Effect to something besides None and then the DragDrop event would trigger. I have never done anything with ...Show All
Visual C# Regular expression to read a record in a text(CSV) file
Hi while parsing the CSV file i need to validate each row or record that it should not contain any special characters outside the double Quotes and the no of fields should be 13. some of the records that i have corrupted from the CSV file are as follows "0323034055","000","2823484","2005/10/17","S","016184","CAROLE CROW","COLUMBIA","SC","29203 ...Show All
Visual Basic Shell method causes the error "VBX Library init failure" on some machines
Hi, I have been dealing with a problem for the last few days. An error which can be traced to a single line of shell method shows up on a pc other than mine(non development). The error is a dialogue box stating: "VBX Library init failure" The funny thing is the error can be avoided if before executing the shell, a file browser window is activated and a file is selected. Any help to make shell work on all machines wou ...Show All
Windows Forms Terrarium Server won't reintroduce
Hi, I've set up a Terrarium server sucessfully (I thought) and I connected with a client and introducted a couple of creatures. Everything worked great. I shut down both systems for a couple of weeks. When I started the systems back up it was fine for a minute, but then all my bugs died of old age and I recieved a message box saying that they died because it had been too long since I was connected (or something like that) ...Show All
Software Development for Windows Vista Create a code expression with RuleConditionDialog
Hello, I'm trying to crate my own code expression with CodeConditionDialog. The costructor of CodeConditionDialog work fine if I have set a correct code expression, but I cannot start from a new (empty) code expression. If I run the following code: Workflow1 wf = new Workflow1(); Activity activity = wf.GetActivityByName("ifElseBranchActivity1"); RuleDefinitions defs = new RuleDefinitions(); RuleExpressionCondition condition ...Show All
.NET Development change internet explorer proxy settins
Hello everybody I would like change the internet explorer default connection proxy setting. How can I do this in .NET 2.0 Is there a possibillity to safe the current setting and restoring when my application close Thanks Best Regards Karsten By default .Net 2.0 web requests will read your IE proxy settings. If you want to override those settings you have a few options: 1. Set yo ...Show All
Visual Basic Setting up a database. Need Help!!!!
Hi!, How do you set up a database I tried to, but it will not work. UserInfo.Recordset.Fields( "username" ).Value = txtName.Text The code above is a sample code from my program. How do I get my Database to be named UserInfo In Visual Basic 2005 Beta 2 I am used to the old Visual Basic 6.0. So what I am aiming right here is that how can you put in a data base that is in mdb format into my program using the code above. It worked before in Visu ...Show All
SQL Server SQL DMO - Backward Compatibility Components Redistributable
I need to update our applications install program so it installs the latest SQL DMO. I've downloaded the "Microsoft SQL Server 2005 Backward Compatibility Components" MSI from http://www.microsoft.com/downloads/details.aspx familyid=D09C1D60-A13C-4479-9B91-9E8B9D835CDC&displaylang=en . This MSI will not install on Windows 98. This is surely a problem Client machines running Windows 98 can still connect to SQL Server 2 ...Show All
Visual Basic ASP.Net Problem ! PLEASE PLEASE HELP
Hi , i have installed IIS server for ASP.net, i have created a new ASP.net project and put some controls in it but it generetes an error that it can't use this server and i should run setup of windows components. What should i do Please Help i need it i shall be thankful to you. Regards, Adee Did you install IIS AFTER .NET If so, you need to run aspnet_regiis, with the -i flag. It's in <windows>/microsoft.net/Framework/<vers ...Show All
Visual Basic Help Talking to com ports
Thanks to those who helped me get started writing to a com port, that's working fine. But now, I want to read data from the com port, and that doesn't seem as easy. In this piece of code, I'm sending a simple command on com2 to a communications receiver, asking it for an S-meter reading (three digit numeric value). The data gets sent to the radio OK, but the VB code hangs on the line: Dim IncomingData As String = com2.ReadLine( ...Show All
