Software Development Network Logo
  • Smart Device
  • Game Technologies
  • Architecture
  • Visual C#
  • SQL Server
  • Windows Forms
  • .NET Development
  • Visual Studio
  • Windows Live
  • VS Express Editions
  • Visual Basic
  • Windows Vista
  • Microsoft ISV
  • Visual FoxPro
  • VS Team System

Software Development Network >> petevick's Q&A profile

petevick

Member List

AbsoluteZero
Luis Luevano
bdub042
Lifeng Lu MS
lachlanj
chicken2
Madheshwaran
GeoffW85
rebeccat
Codoc
Jimmy Li - MSFT
Richard Hein
Calua
MCaradec
bignack
nereida
sy_mbm
J Bronson
Gusti Satria
Robert Djabarov
Only Title

petevick's Q&A profile

  • Visual C# ManagedThreadID doesn't work for interop for SetWindowsHookEx.

    I am converting a VB6 program to be C#. Therefore I was looking up how to hook the application for mouse, key activity and I found this article by Microsoft. http://support.microsoft.com/kb/318804/ In the code it uses AppDomain .GetCurrentThreadId() to set a callback thread for Hooking. It uses interop to the user32.dll. I modified/used the code and it works. However, the compiler insists that I should not use this function (GetCur ...Show All

  • Visual Basic Control to generate SQL code

    Is there a control to allow users to create SQL queries - something like the Access or MSSQL query generator - or even better is it possible to use those controls You can use the SQL generator in Access only if you have a runtime distribution license or your users have the application. You should be aware that because of the potential of "Injection" attacks it is not a good idea to let your users have complete SQL control ove ...Show All

  • Visual Studio Editing an existing connectionstring with the DataConnectionDialog at runtime

    Can anyone tell me if it is possible to edit an existing connectionstring with the DataConnectionDialog at runtime in my own winform application I can create a new one at runtime in my own winform application using the following code: Microsoft.Data.ConnectionUI. DataConnectionDialog dcd = new Microsoft.Data.ConnectionUI. DataConnectionDialog (); Microsoft.Data.ConnectionUI. DataSource .AddStandardDataSources(dcd); Microsoft.Data ...Show All

  • Windows Forms Internetconnect problems

    Ok, I'm working with wininet and i'm having some problems. Whenever I call  hConnection = InternetConnect(hOpen, baseURL, INTERNET_DEFAULT_FTP_PORT, baseUID, basePWD, INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE, &H0) I always get 0. Is there anyway to make my connection using sys ...Show All

  • SQL Server What port does sqlexpress listen on?

    I need to set up my router correctly, but can't find what port sql express listens on. Can anyone help Thanks ... Ed ...Show All

  • Visual C++ Windows XP Password character.

    Hi, Dont know if this is the correct forum, but since I didnt get any answers elsewhere, I'm posting it here as well The Problem: On some machines, my password field displays the password character as the "dot" - which is XP standard, and on other machines it dispays small square boxes. Details: We have written a win32 application in C++ with, in which we have a password field.  Inorder to use the XP style of "bulleted" password chars (in ...Show All

  • Windows Forms Outlookbar out of toolstrip items?

    Hello, has anyone an example how to build an outlookbar (explorerbar) out of toolstripitems Thanks for your help Thomas Dallmeier Joe Stegman has built a sample that mimics Outlook. That probably has what you are looking for.  You can download his version for Beta 1 here .  He has a version for Beta 2, but it hasn't been posted yet.  Follow this thread for updates. ...Show All

  • Visual Studio Express Editions Detecting user changes to data on form

    I have a form which is used to make changes to a database. When the form first opens the form fields are populated from the database. How can I tell if the user changes any of the fields. I would like to be able to detect this so that if the user tries to close the form I can prompt them to see if they wish to save the changes. Thanks Hi Carl, you can use the HasChanges method of the DataSet or the GetChanges m ...Show All

  • Visual Studio 2008 (Pre-release) DirectX vs. Viewport3D

    Hello, my task is to display a complex part of an engine at the screen. The user must have the possibility to interact with it (hit testing, moving, any coordinate systems etc. ) At first I thought DirectX is an appropriate way to do this. Derive an control, override OnRender and so on. But I saw there is Viewport3D and it looks like to do the same just like a "DirectX-Window", isn't it But the samples (rotating teapot, ...) ...Show All

  • Visual C# using MSMQ (Messaging queue)

    Hi all, I want to use Messaging queue, I created my queue in the System MSMQ. My question: Can I create the Queue in the network server, and refer to it from the users. I mean User1 can send message to the server queue, and user2 can recieve it. Please help... Regards... That scenario would require a message queue for each workstation, since you can't read a message from a queue without removing it. That would b ...Show All

  • Windows Forms how to insert an item in a combo box which already has a data binding

    Hi all, I want to insert an item "please select one" in the combo box,cmbIntervention which already has a data binding to a database table.    'Populate intervention combo box         Me.DsInter_code1.Clear()         Me ...Show All

  • Software Development for Windows Vista backward compatibility with windowsxp?

    hi everyone, I have developed multiple applications for windowsxp (using prof-uis library to take advantage of winxp themes feature) and would like to know (since currently I am unable to run vista on my own) whether do I need to recompile all my applications so they can run under windows vista Or - all my application that were build for winXP (visual studio 2003) will run without any changes needed How will look like the UI of my winxp progr ...Show All

  • Windows Forms listbox item refresh

    so, i have a listbox containing a collection of custom objects by default, listbox uses toString() to determine the display string for the item however, if i update the value of an object in the listbox's item collection, and would like to have that displayed, it looks like the only thing i can do is to: 1. remove the item 2. insert it back the 'refresh' method doesn't requery the result of the 'toString' method on the object. ...Show All

  • Visual Basic How to pause execution in a Form?

    DOes anyone know how to pause execution in one form/method until another form/method is through then finish its own program. I want to be able to switch to another form, run some execution, then take the results to pass back to the original form and let it finish execution. WHen I try it, it will switch over and even pass info back, but the original form will fishish its sub-routine with out waiting for the results. Know it sounds confusiong. ...Show All

  • Windows Forms Intellisense library?

    Hello, I have a windows forms (VS 2005, .net 2.0 framework) application. I have a module in there that simulates a commandline interface. Basically there is a textbox in which the commands are typed. I would like to know if there is any library in .net 2.0 that allows intellisense of the commands like in VS (The commands and description will be stored in a table). Thanks in advance. Raj. Raju Rangan wrote: Hello, I have ...Show All

©2008 Software Development Network

powered by phorum