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

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

sdmf

Member List

Mohsen Kokabi
Chris Lyon - MSFT
HerbF
2fastrunner
SpGlover
Davey Gepp
Andre Rentes
JohnnyAV
Scriptor
krow
torkel_b
Joey2006
Daniel Guerra
Philip L. N.
mike1942f
dinks
cindyding0412
Radikal08
Sunny_Lang
Troels Gram
Only Title

sdmf's Q&A profile

  • Visual C# MS Access DB for user logon details

    Hello everyone, I am having a bit of a problem connecting to a MS Database in C#2005. I have written my app befor as a test bed for the whole programme but I used a simple XML file to strore the username and password details. Now that the application is near compleation I would like to use a MS Access DB for the same purpose. The problem I have is I can connect to the DB in solution explorer and I can creat the DataSet but where do I go ...Show All

  • Visual FoxPro EOF() for a low level file function

    Hi there, I just ran into a problem with this code. What I want to do is to open a TEXT or binary data file and read it as a *binary* file byte by byte. What I found to my surprise was that the VFP EOF() function presumes that the file that's been opened is a TABLE! How do you go about reading bytes from a data file I am getting an error message that the alias is not found.. filename1 = "C:\Program Files\tcp_ip.txt" filehandle1 = FOPEN ( ...Show All

  • Visual Basic How do I avoid deleting the first 4 characters of a textbox?

    How do I avoid deleting the first 4 characters of a textbox I mean that the first 4 characters of the text box should be readonly. Hi! Did you try MaskedTextBox It designed for such things. Also you can write handler for TextChanged event and ensure that first 4 chars are in place, but you will have to deal with selection also. ...Show All

  • Visual Studio 2008 (Pre-release) How to serialize a SystemColor by its name and not its hex value?

    Instead of serializing [Color="#FFAB83EF"], I'd like to serialize as [Color="{x:Static SystemColors.ControlDarkColor}"].  It looks like System.Window.Serialization.StaticExtension should be able to do it, but I'm unable to get it to work.  Any ideas or help would be appreciated. Serialization isn't able to write out the color as an x:Static reference.  It's actually the Color's TypeConverter that ...Show All

  • Visual Studio Save As on a Project Throws "The parameter is incorrect"

    Hi, I don't know if this is a known issue, but if I try to call "Save MyProject1 As..." from the File menu of VS2005 on a project created with the MyProject sample of the VSIP SDK, I get an     "The operation could not be completed. The parameter is incorrect." error message. My own project type (not based on MPF) behaves the same. Does somebody know what causes this problem Br,    Gaspar Hello Gaspar, ...Show All

  • Windows Forms How to set default value with bindingsource?

    I use a datatable in a typed dataset ,a bindingsource and a bindingnavigator. The table has a pk guid column and other column needed to set when I click Add button(be careful here: this values can't not set in the typed ds column's default value, they depend on the program scene,such as operator's ID,etc).what's the best practice ...Show All

  • Visual C# How can I restore the main window after minimize the main window? Thanks!

      I use the code below to make the program ran only one time, I hope the main window can be restored automatically when you try to launch the program for the sencond time.   [STAThread]   static void Main()   {    bool createNew;    Mutex m=new  Mutex(true,"SuperCoolPhotoOnlyOneTime",out createNew);    if (createNew)    {      ...Show All

  • Visual C# EventHandling question

    Hi, I'd like to know if it's possible to place all my eventhandling methods in a separate class specifically for eventhandling methods. What I want to achieve is to have 2 separate class files with one class file being the GUI part and the other class file handling the events. Below is my sample code... Class2 contains the GUI and Class3 contains the EventHandling method. I keep on getting "Error 1 'Project1.Class3.FileExit_Clicked(ob ...Show All

  • Software Development for Windows Vista SerializationException because of non-serializable parameters in CallExternalMethod activity

    Hey guys, I have a CallExternalActivity that calls a service. This method call has one outgoing parameter and a return value. None of them is serializable. The parameter and the return value are both bound to a public properties of the workflow, but the fields behind those two properties are decorated with the [NonSerialized] attribute. What is the reason behind this I mean I can understand that public properties of workflows should be ...Show All

  • Visual Basic VB express edition with odbc connection

    I want to connct through odbc in express edition .........can any one help me Price, If you are going to refer a user to the documentation please be so kind as to give a reference: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdataoledboledbconnectionclasstopic.asp ...Show All

  • Visual Studio Express Editions vc++ Express side by side install with vs2005?

    I'm considering upgrading to vs2005 and have a couple of questions. I'm asking here because, after reading the various pages on msdn on the subject and searching these boards and the web, I have not found a satisfactory answer to my questions. Firstly, I would like to know if there is a vs2005 pro academic version or if the standard version of vs2005 is the only academic version that will be made available. Secondly and perhaps more importantly, ...Show All

  • Visual C++ VC++ migration problems

    I'm trying to bring a project from VC6 to VS2005 Pro. When I first imported the project there was, not unexpectedly, a long list of compiler errors and warnings, and I modified the source code to get rid of all of them, and am now left with 2 problems I'm not sure how to fix. 1) I get an error during the html help phase of compilation to the tune of "windows can't find hcw" - that's the executable for the help workshop. I see that ...Show All

  • Software Development for Windows Vista [Editor] Property Attribute

    I would like to re-use the "InterfaceType" editor and the "MethodName" property editing capability available in a MethodInvokeActivity. Is this available for new activities to re-use If it is possible is there an example that shows how I do it Thanks Pete Pete, To reuse the type selector, you just need to attribute your activity property with the Editor attribute: [Editor(typeof(TypeBrowserEditor), typeof(UITypeEditor))] To have a drop dow ...Show All

  • Visual Basic Remote user pc by admin pc

    I am doing Cybercafe now. for example one of the user pc at my Cybercafe name is calvin , so i should type "shutdown.exe /s /m \\ calvin " right Where should i type this command at admin pc to control the user pc to shutdown ...Show All

  • Windows Forms Custom Controls...GDI to slow?

    Hy, I've been trying to make some controls (buttons) using user controls. So...I've made 2 pictures(bitmap)(actualy is a png file extension) one is the button in the normal state...and the other...is the button when the mouse is over it..... when I wrote the code...to change te pictures and clicked run to start the application everything was ok....untill I moved the cursor over the button....it flickered(made up word).....for a split ...Show All

©2008 Software Development Network

powered by phorum