Answer Questions
fcspaul Event Log Storage
Would someone please help with this newbee question I am using VB 2005. How can I store eventlog entries to my own sqlexpress database or save them to disk Any help or direction on this would be much appreciated!!! Thanks AT Do you need to do that programmatically Look here for an example. If you just want a tool, look at LogParser . It will do what you want (and much more) --VV [MS] vascov@micr ...Show All
Upulab Hiding Command Window
Hello, I am trying to do some scripting using DOS based commands and was hoping that by having VB call the command that I would be able to hide the command line window (cmd.exe) but still have the commands execute and run properly. The output does not matter at all, all I need is for the commands to run. Would anyone happen to have any suggestions how I can do this Thanks in advance! Try this: Dim p ...Show All
Useless list all User accounts
Does any one know how to return a list of all the users accounts. That worked after I modified little bit he query To ( "Select * FROM Win32_useraccount") Now can I get the current user logged in to the session I am thinking to add to the query more details like "where user…." Well, I am not sure. are you talking abo ...Show All
Videl DataBinding & TextChanged
I would like to enable a Save button on my form when the user makes any changes to any of the bound data controls. I've tried to use the TextChanged event but this event is also triggerred when the changes are due to databinding. I need a way to determine who made the change -- the user or databinding. I don't use databinding, but I do have a Variable that tells me if I am in Edit or add o ...Show All
Eugene Ye DatagridTextBoxColumn WORDWRAP
Hi everyone. I have a datagrid working just fine. I added a tablestyle to it and now I want to make my textboxcolumns to use wordwrap. I added the next lines to my columns mytablestyle.gridcolumnstyles(i).wordwrap=True but Its not working at all! Ive read some articles and seen some codes extending the datagridtextboxcolumn but non seem to work. Anyone got a working code How can I make it work Hi Ken.. I did found your site. I got a ...Show All
Graham King How to view wizard genersted code
Hy to all, I want to view the vb code wich is generated by wizards, such as the code of Binding Navigator. I would like to see how funktions like "save Data" or "show next" are working. Is there any way to do this Thanks for your help The code generated by the Windows Forms designer is in the method InitializeComponent. In VS2005, this method is in the file Form.Designer.vb ...Show All
Darko01 Can I open a form when all I have is the name as a string?
My project has a number of forms. I would like to provide a procedure that would open one of the forms -- the form name would be passed as a string to the procedure. The requested form is probably not already open. In other MS products, I would do this by iterating over a FormsCollection searching for a matching name. No FormsCollection here. I found another example that would build a collection of open forms, but my req ...Show All
Naximus Add New Data Source for My SQL doesn't work
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source Michael Are you sure its the enterprise edition of 2005 and not the Express edition (Beta 2) I'm sure that no Enterprise Edition has been released to the public and I'm told with the Express Edition (Beta 2) it will it limited to connectivity with SQL Serve ...Show All
sirck sirck Communicating with currenlty open IE session?
Is it posible to send a message from my Visual Basic .Net application to the currently open IE session I don't want to open a new IE session. I am trying to facilitate the ability to allow the user to select a record from the VB application and pass some of the data into a web application that is open in their browser. Where can I look to find examples or documentation to make the connection and then the document tree so I can make sure I send ...Show All
Rajnessh Tiwari Vis Basic Express Newbie Question - replacepattern
I am a real newbie to VB so bear with me. I am trying to do a 'wildcard' replace of some textbox text. I am able to use the 'replace' (function, method or whatever it is.) Used as: Dim qo As String = """" TextBox1.Text = TextBox1.Text.Replace( "Data1=" + qo + "10" + qo, "Data1=" + qo + "12" + qo) tested as : Dim zz As String = Replace( "xyz" ...Show All
BarryMarc Saving and Recalling items in a list box
I am working with visual basic 2005 express edition, and I have a form with a list box on, how would I save items in a list box when the form closes and recall them when the form opens. Thanks I am only working with one list box with a unknown number of items as the user places in the items, how would I write the items to a file then recall them Well you have several optio ...Show All
Zia1 CheckedListBox
Can someone help me on how to use the CheckedListBox and ComboBox in VB2005 Pls post some sample codes... Thanks!! Hi, Have you tried searching on http://msdn2.microsoft.com How to: Add and Remove Items from a Windows Forms ComboBox, ListBox, or CheckedListBox Control How to: Sort the Contents of a Windows Forms ComboBox, ListBox, or CheckedListBox Control How to: Access Specific Items in a Windows Forms ComboBox, ListBox, or Ch ...Show All
sjallipalli7409 Network Question
Here's an interesting question... I've re-made a game called Atoms (was an old Amiga game hehe) as a single player game with a score. Is there any way I can set up a server program on my computer, and then add code to my game so that high-scores can be uploaded to my computer and then viewed by others (If so, I need for the program to be able to show a friendly message when the server is not available too!) Thanks in advance!! - Javawag ...Show All
Likescheese Automatic Mouse Control
I am using a free chart control provided by SoftwareFX called ChartFX Lite. It allows you free, but very limited, capability with charts. There is a full version available but I want to try and avoid the $1000 price tag. There is a toolbar on this control that will capture a bitmap image of the chart ONLY when you press a certain button (a restriction with the Lite version)...The location of the button is always consistent on the form, so I w ...Show All
Marcelo Hernan Ruiz highlight several words in a text box
hi how i can highlihgt several words in a text box(like search in msdn) how i can add methods in an activex thanks It is possible to select multiple words that are not together using the SelectedText and SelectionColor properties of a RichTextBox control. Steve Hoag Hi, You can only highlight a sequence of words one at a time in a textbox control. I mean you can't highlight words that are not together. I don't know of ...Show All
