Answer Questions
SGK how to create a new txt file at midnight each day and write to it
Hello I was wondering if somebody could help me with creating a new txt file each day at midnight with the name in the format of ddmmyy_hhmmss.txt also how to add text to it, well maybe i can do this i think, but maybe it would help confirm this bit. ikind of have the following so far, not much i know, thank you all in advance Private Sub OpenFile() ' filename = "C:\CRAPS\txt_files\" & Format(Now, "_MMMddyy ...Show All
Nick Head Pivot tables & custom reports in Visual Studio 2003
Hi, I'm trying to save the layout of a pivot table in order to retrieve it later and restore its layout so that the users can save their own reports and then load them again. I'm working on VB.NET 2003 and the problem is when I try to assign the XMLData to the object. After writing the XMLData to the object the pivot table shows an error message that says "Cannot process the query: - Cannot Initialize Microsoft SQL Server Analysis Services ...Show All
Sri_Prad KB915038 doesn't help
Hi together I'm really surprised that this Hotfix generates so mutch discusion! I allway was thinking I'm the only person on this planet who has a crash problem with the VS2005 VB IDE. Great to here that I'm wrong. I talk about IDE Problems since we use VS2005 see: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=3f637569-a763-48a6-8d11-ce6dbc4b5ecd and http://lab.msdn.microsoft.com/ProductFeedback/vie ...Show All
rohangopal oop question-refactoring and two classes communicating
So I had a complex class that seemed to be doing to much by itself. An order item class. So I refactored into two different classes. An order item class and an order size class. In an instance like this what do you think about the order size class maintaining a reference to the interface of the order item class. There are several properties of the order item class that I consistently need access to in the order size class. I know that a child is ...Show All
Serene Seraph Accessing a running program's ram
I want my program to access a program's ram (when the program is running in memory) so I can debug it explicitly. I know how to edit a file by storing it in a buffer but how would I do this when a program is running. If suggestions or code samples are given, please make sure they are for vb.net and they are explained. Thanks. How you get this offsets Really interesting. In sample you provide about VB Trainer - author already know offs ...Show All
Skynetxp Form Order
I am using VB.net 2005 Express Edition I started a project, Form1, and after a while I decided to add a password form so that you enter a password before you can view Form1, my question is how, when I run the project, do I get the password form to be the start form Thanks Chris, Already fell for that, so changed it from Form.Close to Form.Hide Just remember that if your pass ...Show All
wazhoo MultiSelect List Boxes
I have created a form with three multi-select list boxes and hidden boxes to house the selections. I would like help with code that would allow me to sum each hidden box then multiply the sums by each other to get an answer when the "calculate" button is clicked I have three list boxes with percentages in them and would like to add the percentages in each box to get a total then mutliply the results ...Show All
Patc4 Shell Method
How can I load a folder up in the windows explorer I explored the classes but still I could not do it. For some reason the textbox is still not being converted into a string so when it gets to the: "IO.File.Exists(sFile)" It takes it as false so no action happens. How can I fix this problem Assuming Command.file1 is of type String and contains a folder path, try this: ...Show All
BCullenward9 Virtual PC 2004
I currently use WS 2003 for my operating system. I am preparing to purchase a new AMD 64 bit computer and am interested in suggestions for setting it up for both 32 and 64 bit operation. Is the "Virtual PC 2004" technology a good way to for my 32 and 64 bit operating systems. Thanks, Fred Virtual PC does not support 64 bit Windows. But you can create two partitions on your hard drive, install a 32 bit OS on one and a 64 b ...Show All
sseguron Selecting datagridview cell
I am totlly newbie in vb.net and want to find out how can i utilize the datagridview tool here. I wanted to know how can i pass the content of a ceratain cell in datagridview on a click event to a textbox...thanks in advance. You can refer to the columns by index or by name. Textbox1.Text = Me .DataGridView1.Rows(0).Cells(0).Value Textbox2.Text = Me .DataGridView1.Rows(0).Cells( "ColumnName& ...Show All
Colleen TechNot Crazy IDE
Hi All, Just after started to add controls to this new Tabbed app, the IDE shows the move cursor (the crossed arrows) and just flashes the cursor until I go into the taskman and return...It's scary to think a whole nights work could be undone by a misbehaving IDE. Have any of you experienced this odd behavior This has also happened in other apps in W2K, and XP Pro as well. Thanks All! Elgee Hi Spotty, Af ...Show All
Nikolay Shustov 2 tables from DataSet with Many-to-One relation in 1 DataGridView
I have 2 tables in a DataSet: The First table 'tblUsers' has records with User info: [UserID], [UserName], [Password], [LastLogin] The Second table 'tblOrders' has Order records with a Column [CreatorID], in this field I put the [tblUsers.UserID] value of the user that created this record. So there is a Relation many-to-one from 'tblOrders' to 'tblUsers'. I want to show in a DataGridView the table 'tblOrders' (by databinding), but ...Show All
Internationalpaddy Web Browsing program
OK, I know what I want in the browser, I know how to make most of it. The only problem I have right now I DON'T KNOW HOW TO MAKE THIS WEB BROWSING WINDOW!! I'm trying to make it in a panel, which probably is the wrong way to do this. I need help with the web browser commands. Oh, and I want it in the program, not external Internet Explorer window. Please help, I'm new at this and I'm trying to make an OS-like program set. OOOOOOHHHHHH I'm ...Show All
Waxxy ShutDown event won't fire
VS2005 Beta2 don't know why what's wrong with my project, shutdown event won't fire. I created a new project, shutdown event fires. This project was in Beta1, it is not totally new beta2 project. What could be wrong I compared every file I can think of, no difference. By END do you mean Environment.Exit NO, literal "END" OK, I just figured it out, I was using END statement to close the application, that is the reason. ...Show All
mrjoeclark .NET Deployment with COM DLLs
I am using SQLDMO.DLL within my program which makes me include it in my deployment project. I built the deployment project and installed the output MSI and it works. It registers the SQLDMO.DLL (used COMSelfReg) when I install the package and unregisters the said DLL when I uninstall it. But I have a problem when I install and then uninstall this package on a machine with SQL Client Tools installed. The package uninstalls the program and unregis ...Show All
