Xzion's Q&A profile
Visual Studio Express Editions Code Editor: Text Input Lag
Hello! I'm experiencing a terrible problem that renders Visual C++ 2005 Express (Final Version) almost completely unusable. I'm having the same problem on multiple completely independent computers and it happens quite frequently, so i can't believe it's a random problem that never occured to anyone except me. It happens when I switch back and forth between code files in a regular C++ project. Sometimes, after switching to a file that was already open, i can no longer type or select code in a regular fashion. When I type some code, it appears in the editor window after a significant delay (usually a couple of se ...Show All
Visual Basic Prevent Hex Editing!
i even somewhat hard coded the word Me.Text = "BLAH" If Me.Text <> Chr(66) & Chr(76) & Chr(65) & Chr(72) Then 'That all means BLAH in character form Call MsgBox("This program has been altered from it's original content and will now close!", MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "BLAH ERROR") End End If i downloaded hex workshop, edited BLAH to something like MAIL, and it still works. but if i have the workspace open and before i debug it, if i manually change it to MAIL in the "Me.Text = " part, then the message box will pop up stating so. what am i doing wrong, logically, t ...Show All
Software Development for Windows Vista using regsvr32 in Vista 5231 to install COM component fails to write to registry
I am trying to register a com object (dll) with regserv32 in Vista 5231. My Dll is being loaded and my DLLRegisterServer method is invoked which uses RegCreateKeyEx and RegSetValueEx to write to the registry (HKEY_CLASSES_ROOT\CLSID\XXX\XXX). I am writing everything out to a file just to make sure everything is going ok. all the RegCreateKeyEx calls and RegSetValueEx calls are returning success, but when I look in the registry my newly created keys aren't there. Are there any known issues with using RegCreateKeyEx or RegSetValueEx to modify the registry with Vista 5231 I resolved my issue. there seems to b ...Show All
Visual Basic How do you convert the 'Sender' param in Event Handlers?
I'm in the process of learning to create controls at runtime and adding my own event handlers. Consider this declaration of an event handler..... Private Sub Hello_Click(ByVal sender as System.Object, _ ByVal e as System.EventArgs) End sub The author says you can convert the sender parameter into a button object and use the button's properties to determine which button was pressed. Unfortunately, he doesn't show you how - even though it seems like it would be something important to know, as a beginner. I was hoping someone could enlighten me on how this is done. I've done a little searching using the help system, but ...Show All
Visual Studio SQL Server 2005 Express April CTP Fails from VSTS DVD
When installing VS 2005 (Team Suite) the SQL Server Express install fails with an error code 1603. Also tried reinstalling it after VS but still fails with same error code. Anyone else got this problem /Per Salmi This was a clean installation on a new PC. I can't find the installer or the folder you mentioned to do a manual install. ...Show All
Windows Forms Reading command line arguments
Hi, How can I receive command line arguments in VB.net I want to recieve the string arguments and based on the argument I want to make certain buttons on my windows form visible or invisible. Thanks, The arguments are also available with the Environment. GetCommandLineArgs method. There's no need to change the Main method this way. ...Show All
Software Development for Windows Vista How can I control a WinForm from a workflow?
I am developing an application whose behaviour is to be governed by a workflow. The windows form application acts as the host to the workflow and I need to update various controls on the UI based on the workflow's functioning. The problem I have is that while its possible to send events to the workflow using a service, I do not know how to call methods/send events to the host application from the workflow. Is there a nice way of doing this Is it an acceptable design if a windows application is "run" by a workflow Eg 1 : I have a rule condition. But I cannot embed that in the workflow class itself. It has to be evaluated in a ...Show All
SQL Server RS 2000 installation issue.(err : Can not generate SSPI Context)
Hi I am trying to install RS 2000 on my machine. I have SQL server 2000 client. I am connecting to remote database server. When it asks for the server instance credential I am giving the right one. It is asking for three type of credentials 1- Service account 2- Domain login Account 3- SQL login account. It is failing in all the cases. Is there any fix for this. Thanx in advance. ...Show All
Windows Live Developer Forums Access RunTime installations
I do a number of RunTime installations and ran into a new issue today. The application cannot find the RT module to open the Access database. The same RT works great on other computers, both Laptop and Desktop images. Is there a way to run an Access RT app from a CD as a read only application It looks as if the answer is no; could anyone answer clearly, or have suggestions. I use the same RT installation package that works on a sister computer, using the same CD, so that does not seem to be the problem. Thanks! ...Show All
Windows Forms Updating the data in a datagrid
I use sqldataadapters to populate the dataset that has a parent table with child tables I have a form with a datagrid, the datagrid has records from a child table that relate to the parent. When a record is double clicked I open a new window to show all the data for the record and allow the user to change the data. On accepting&nb ...Show All
Visual Basic Time notation
hopefully im in the right thread in here. my question is about how i can get a WORKING time/date notation into my project. I used some code i found, but they are always giving an error. hopfully someone's knowing what i need ;) P.S. im using MS VB 2005 Express )with MSDN license) P.P.S. My english is bad, i know, my appologize for it ;) Can you include the code your using and what your trying to get out - your description is rather vague ...Show All
Smart Device Development How could i create a database application in VB 2005 for windows ce?
hello! i've been searching the internet for the answer to this question, but i didnt find any that is useful to me. i would also like to know everything that is connected with the database application im intending to write. thanks a lot. may apologies, it must be the trans-Atlantic language barrier, I thought you were being sarcastic ...Show All
Visual C++ Error on delete [] v
Hi, I have a problem with a class. The declator is class Configuration { public : struct conf_table { char name[40]; char value[10]; }; struct conf_table *conftable; int size; //rows on conftable int max_size; //maximum rows on conftable public : Configuration( void ); //Constructor ~Configuration( void ); //Destructor }; And the code is Configuration::Configuration( void ) //Constructor { size=0; max_size=256; conftable = new conf_table[max_size]; //initialize conftable } Configuration::~Configuration( void ) //Destructor { d ...Show All
Windows Forms XPander nesting
Is it possible to nest the XPander controls that are part of TaskVision Basically I want to put another XPanderList inside of an XPander so that everything can roll up nicely. ...Show All
Visual C# Menu usage in C#
Hi, I am trying to add a menubar on a Forms.UserControl. How can I do that Is there any workaround for this Thanks - Giridhar. Why What's wrong You should be able to add a menu strip to a UserControl just the way you add it to a form. Which version of VS are you using ...Show All
