ovmidori's Q&A profile
Visual C# I can not find ListView.SelectedIndex event
When a row is clicked I want to display these Items on this row display in textboxes but I can not find ListView.SelectedIndex event. How can I do this Thank you very much ! You want ListView.SelectedIndexChanged. http://msdn2.microsoft.com/en-us/library/system.windows.forms.listview.selectedindexchanged.aspx HTH, -Bill ...Show All
.NET Development Side by side execution +COM components
Hi, I have created one com component using .Net framework 1.1 which i am calling in VB application. It is working fine. Now I installed framework 2.0. When I am trying to call this COM component using .Net application it is working fine. But when I am trying to call this COM comp. using my VB application it is now working. It is throwing exception. Root of problem which i think is when I am calling this COM comp. using VB, Framwork 2.0 is gettin ...Show All
.NET Development Saving text files-custom text editor
i'm making a text editor, and i saw the SaveFileDialog way of saving, but the only example i can find using this is for saving image files. all i want to do is save the text from a textbox, "text_box" to a selectable file, and using a selectable format. are there any tutorials on this, or can someone give me the basic code necessary. Usage of the SaveFileDialog is not file format dependent; you should ...Show All
Visual Studio Express Editions Is multiple instance of an Access object possible?
Hi, I hope somebody can give some guide regarding Access db files and VB. I am working on my final year project and have decided to use vb as a user interface for student grouping according by test grade results. I have managed to get the open file dialog to work while opening the access db file: Dim myConn As New OleDbConnection Dim di As DialogResult di = dlgDataImport.ShowDialog() If di = Windows.Forms.DialogResu ...Show All
SQL Server Login failed for user ''. Reason: Not associated with a trusted SQL Server connection.
Hi, I have 2 windows 2003 server, i instllaed sql server 2005 enterprise edition on the first one (Mixed Mode), and i am trying to install sql server reporting 2000 on the second one, I installed the sql 2000 connectivity only on the second one , and i installed the sql server sp4 also, while installing reporting services i used the sql login account (sa,pwd) i got the following error : Cannot connect to sql server instance ... ...Show All
Windows Forms .NET and Crystal Reports Help needed
I am trying to generate a Crystal Report using VB.NET. The Crystal Report uses a MS Access DB that is password protected. I tried iterating through each table in the report and setting the TableLogOnInfo, but at run time it always asks for login information. Please help. ...Show All
Windows Live Developer Forums plug in with MSN Messenger
Hi, I am a new comer in this forum.I would like to develop a code in C++ to plug in with MSN Messenger.Any idea how can I do this Thanks & Regards, Sutapa Wrong forum. Go to http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=112&SiteID=1 ...Show All
Software Development for Windows Vista Power icon problemw
Hello, I've just installed the Windows Vista Beta 2 (Build 5384) and so far so good, except for one thing: somehow i can't activate the option to show the power icon on the "notification are" of the "taskbar". When i go to the properties of the "taskbar", and then go to the "notification area" options, i'm allowed to select to always show the clock, volume and network icons, but not the power icon. ...Show All
Visual Studio a problem with Exec function
Hi all, I've made a add-in project to generate a new web project.I have a question that after executing onfinish method in default.js should then execute Exec function in connect.cs, but in fact Exec function didn't execute. How to solve this problem Best regards The Exec function is invoked only when you invoke the command that is added by a call to AddNamedCommand[2]. If you have changed the name o ...Show All
Windows Forms Calculate Width of a String in Pixels
hallo, Given a Font and a string, is there any ready-to-use function in .NET which can compute the resulting width of the string in pixels So that I can adapt say a Label, MenuItem or Textbox to the new size of a string. thx, Steve ...Show All
Visual C# rich textbox question
Ok I have 1 richtextbox + 1 textbox the richtextbox.text=richtextbox.text+textbox.text but if textbox.text contains the word: "mother" i want in the richtextbox the word mother to be colored with red any ideas how to do that Here is some self-explaining code: private void richTextBox1_TextChanged( object sender, EventArgs e ) { // Store the current selection start position and length. int selectionStart = richTextBox1.Selection ...Show All
Visual Basic Add text to a text box from a module
I'm upgrading a program I wrote in VB6 to VB2005 and am having a problem with updating a text box. I have a module that manages serial port communications. When data is received in the serial port buffer, it should update a text box (txtSerialIn) on a form (frmSerialInOut). Here's the code: Public Sub Handler( ByVal strInMessage As String ) frmSerialInOut.txtSerialIn.Text = strRXData & vbCrLf & frmSerialInOut.txtSerialIn. ...Show All
Visual Studio cannot run help integration wizard
I'm using Visual Studio 2005. I'm trying to use the Help Integration Wizard but failing, it will not run: "The operation could not be completed". I've installed VS2005 SDK and afterwards installed the Help Integration Wizard, both installers downloaded today. I also rebooted. I'm following the "Help Integration Overview Instructions", a simple new project of type Help Integration Wizard. It fails as soon as I select ...Show All
Visual Studio Express Editions compiling my project
Hi, ive just made a simple piece of code and i want to compile it to a .exe, ive look in the help files but cant find anything, can anyone help me please -Cnrb Basically when i used a program called dev c++ all i did was click compile and it would compile my project and in a folder somewhere there would be the .exe of the project ready to be used. Im just wondering how i would go about doing this in ...Show All
Visual C++ Problem calling JavaScript from C++
Actually, all examples where you use a UI button for a JavaScript call work; but when a call is done without any button being pressed, there's an error! The program does a JavaScript call when window loading is complete: DWORD WINAPI CallJScriptLater( LPVOID lpParam ) { CHtmlCtrl* a = (CHtmlCtrl*) lpParam; CStringArray strArray; strArray.Add("Picture@500"); strArra ...Show All
