darrellp's Q&A profile
Windows Forms MDI Application -> freezing certain windows?
Hi, Im creating a program that allows a user to run sql commands etc. I want commands to be executed concurrently in different windows. So when someone executes a command in one window, I would like a box to pop up saying "time running etc etc cancel etc"... but while this box is open I dont want the user to be able to hide it and view the window it was ran from, but still be able to view other windows within the MDI application to see results from other sql commands etc. How would I go about this....is there an inbuilt method to freeze a window, or would I have to do it manually (ie when a user clicks on the window when a box is open, check ...Show All
Visual C# How I can connect a form to several db in C#?
Hi, I want to know if there is a way to switch from a form to more than one database. Is possibile use, for example, two database toghether Thank you! I have moved your thread to the C# General forum so you get better responses. You can easily connect your C# application to multiple databases by creating various different connection objects that connect to different databases. If you are using the VS IDE you can drag and drop different Connection objects from the toolbox and configure each one to connect to a seperate database. Regards, Saurabh Nandu www.MasterCSharp.com www.AksTech.com ...Show All
Visual C# Unable to load class library
I wrote a managed wrapper in C++/CLI and compiled it under AMD64. Now I wrote a client in C++/CLI too and this works well. Trying to do the same in C# I got everything to compile but when I run it it says: Unhandled Exception: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at MyClass.Main() This is weird though. I compiled the C# file for 'anycpu' but trying to set the platform to x64 did not do any difference. The class library is even located in the same directory. It was compiled using the RC: csc /out:test_cs.exe tes ...Show All
.NET Development Serial Port Communication
I need help by my programm about communication over the COM-Port. I was able to send something, but i wasn't able to receive data's... I tried to realize with this command: --- private void tBox3Update() { textBox3.AppendText(ComPort.ReadExisting()); } --- thanks for some help! You can see one sample to read comPort in: http://www.codeproject.com/csharp/SerialCommunication.asp ...Show All
Visual Basic Webbrowser Control, use without proxy
Can anyone tell how to use a webbrowser control in VB, but it should not pick the internet explorer's proxy settings. I want to build a browser in VB with webbrowser control to run a local intranet application, but this application should not use the internet explorer's proxy settings, but on the other hand, if I run explorer, it should run as it is with its settings. Thanks Hi, I think you can try this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=376620&SiteID=1 It's a solution using the wininet.dll InternetSetOption entry point. Hope this helps. ...Show All
Smart Device Development Target Machine Link Error
I have used the upgrade wizard to migrate my EVC 4 project to VS 2005. I have managed to get most of my projects to build but I have a couple that give me the following link error. mfc80u.lib(MFC80U.DLL) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM' The configuration was originally targeting ARMV4. The "Target Machine" Linker option is set to "MachineARM (/MACHINE:ARM)". And I cannot find any reference to THUMB in my project. Does anyone have any idea's what the problem might be Thanks. Are you targeting Windows Mobile 5.0 for Pocket PC This sou ...Show All
SQL Server SSIS Package wont run
I have a package that used a checkpoint file. At some time yesterday, the package wont execute any more (it was executing just fine before). I mean it will start but just stay still after validations. In fixing the problem, i decide to take out the checkpoint file for a while, but it still wont run. It runs the first control flow component but not the next. Can someone tell me what the problem might be. What are the following properties of the package set to: CheckpointFileName CheckpointUsage SaveCheckpoints What do you mean when you say you "took out the checkpoint file" Did you physically remove it f ...Show All
Visual Studio Need to move VSS database with WEB project.
Hi We use VSS version 6.0c, on the windows 2000 with IIS5, I have a couple of VSS databases. Now I want to migrate databases to another server. In my case this is the file storage without IIS. The regular project I move to the new server without problem, but I don't know how to migrate the VSS database with WEB projects. I don't understand exactly how FrontPage extensions work and what I must change in order to move VSS data to another server and use the existing IIS server. In my case: The physical place of VSS database is d:\inetpub\vss The web site instance is 172.25.10.1 - it's pointing to web site which home directory ...Show All
Visual Studio SharePoint workflow project templates..Where?
in the Microsoft Windows SharePoint Services V3 SDK it sais: " Beta 2 Note Visit the Microsoft Download Center to download a Microsoft Windows SharePoint Services (version 3) workflow starter kit, which includes custom workflow project templates. Follow the template instructions for installing the template on your computer."...but noooo.... PLEASE, does ANYONE know where to find these Mikael This forum is for the VS SDK, related to Visual Studio extensibility, and not Sharepoint Extensibility. Using the Office community, available from http://www.microsoft.com/office/preview/community/community.mspx ...Show All
Visual Studio Express Editions Decompile Prevention.
Do you know if any ways to prevent my executables from being decompiled My 5 year old does this. She asks me a question, then says 'how do you know' There is a tool that will compile your .NET app to machine code ( not MSIL ) and therefore is as safe as C++ code. Given that you're posting in the Express Edition forum, I assume you didn't pay for a compiler, and this tool is probably outside your price range ( it costs a LOT more than visual studio does ). It's also a bad idea, IMO. If you want safe code, you need to use C++, simple as that. There are things you can do to try and help the situation, but you can't stop people from de ...Show All
Visual Basic Running an external application
Hi All: I want to program a button's click event to run a Windows batch program. Is this "legal" If so, could you either provide me with an example or point me to where I can find some documentation on this. If not, please tell me how this little feat can be accomplished elegantly. Thanks. Thanks for running the code for me, David. It turned out I did have a problem in the definition of strTextFile. Once I sorted that out, the code worked fine. Sorry to have bothered you with something so elementary. Regards, Roraima ...Show All
SQL Server How to link 2 sql server 2000 via internet ?
Hi, I've 2 SQL Server 2000 EE (A & B). Both are connected to internet but not in the same LAN. How do I insert a row triggered from A to a table in B If I've both SQL Server 2005 Express in the same setup above, is it possible to setup as above Advice pls...TIA ! With SQL server 2000 you would have to look at something like linked servers or replication over the internet, in SQL 2005 I would use Service Broker but you need a non express SKU as part of the conversation for that to work. ...Show All
Windows Forms Disallow insert and delete on datagrid
Hi, I am using a winforms datagrid to display data from a database. I wish to allow the user to modify the existing records and save the changes, but NOT delete or insert any records. Ideally there would be no "new row" at the bottom of the datagrid. Any suggestions Thanks, Chris. Hi I was having almost the same type of problem, whe ...Show All
Windows Forms How To Use The Tab Key In ListView
Is there any way to use the Tab key to cycle thru the records in a ListView I tried this Private Sub ListView1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ListView1.KeyUp If e.KeyCode = Keys.Tab Then MessageBox.Show("Tab Key") End If But the Tab key is not even recognized and the next item in the Tab order gets the focus I would like to be able to stay on the ListView and use the Tab or Shift + Tab to move up and down the rows You're welcome! Glad I could help. At first I was going ...Show All
Visual Basic How to create a plugin system
I want to create an application that uses plugins, i want loand and unload plugins, in vb6 i was using activeX dll's, but here is not the same, it's a good thing, but i dont know how to implement this, maybe someone could help me ... Some examples in Code Project, using different implementations: http://www.codeproject.com/csharp/PluginsInCSharp.asp http://www.codeproject.com/csharp/pluginmanager.asp http://www.codeproject.com/csharp/C__Plugin_Architecture.asp I'm not very sure of modules running independently though, maybe you're thinking of running in separate application domains http://msdn2.micro ...Show All
