Answer Questions
James Sun Newbie - File copying confusion
Hi I am severely struggling with even the basics of this part of my project. I have a destination path in a variable, selected via the FolderBrowserDialog function, and this works fine. I have a ArrayList of source paths, mixed folders and files. eg a file as C:\My Documents\TextFile.txt eg Folder as C:\My Documents\Folder1 I am trying to copy each item as follows: if it is a file, copy to destination folder, if it exists, ...Show All
Ivanushka VC++
Why I can not add a function or a variable in class. I recommend reading the sticky post on how to ask questions. You should choose a subject that means something. I can't imagine why you can't add functions or variables. Given that you do this via the text editor, perhaps you need to read a book on C++ No problem, no need to apologise :-) Good luck with your studies. Should be s ...Show All
ScottWK Where to declare variables?
I apologize if this has come up before, but I'm new to this forum. I have been programming for almost 20 years, in QuickBASIC, Visual Basic and now VB Express, but I don't do a lot of programming, and the stuff I write is very basic (no pun intended). My typical program consists of a few screens where the user enters data, hits a continue button, then that screen goes away and another screen comes up, either to enter more data or to displa ...Show All
DAN TRUNG I wanting some help about install
When the program is installing after downloaded, the error will appear and the setup is not complete This is the error i was found "Error 1406. Could not write value to key \Software\Classes\.dtd\OpenWithList\vbexpress.exe. verify that you have sufficient access that key, or contact your support personnel." And then, what do i do Ensure you are running as an administrator on the machine you are attempting to install th ...Show All
Sanct Project Files
MSVC++ 6.0 had a wonderful feature in which during the compile process of the main code (which had, of course, user #include file(s) in it), the environment would identify ("discover") *all* header files upon which the project was based - automatically. Do the later MSVC versions have this capacity If so, how do I set up my environment to make this happen and where in the IDE would these files be displayed Thanks. ...Show All
kk_vc Deployment?
I've read articles in the online help files about deployment of programs, and I'm still confused. Is there a runtime library that has to be deployed with an app that I make I know that earlier editions of VB required a user to have a library installed. Is that the case with VC++ 2005 Express Please clear this up for me. Thanks I you just search on msdn.microsoft.com on Compiler options, you will find how to ...Show All
HCF Installation Questions
This may be a stupid question. I don't have a broadband connection and I'm planning to download VC++ Express in my friend's computer as an ISO (.IMG) image file as advised by the download page. Transfer the file to my computer and extract via ISO Buster. My concern is if it is indeed possible to install the program in another computer (not the one that downloaded it) and register it under my name Or maybe MS only allows installation to th ...Show All
sam2006 Filter Master/Detail from
Hi, I am completely new to programming. I have two tables who are related to each other. I have made a master/detail form. I want to find a record on my master form with the use of a combobox. If I choose a value in the combox the detail form will only show the record(s) related to the master For example Master are Countries, Detail are Counties. I want a combobox containing the records of the Master. When I choose a reco ...Show All
Alain Lissoir Add Inherited Form...
My MCSD training kit says that in Visual Studio, you have the ability to add an inherited form by clicking Project -> Add Inherited Form... . However, In Visual C# and Visual C++ Express Edition (I don't know about Visual Basic Express), this option seems to be missing. I also notice that you can't add an inherited form via Add new item... or Add New File... . Don't get me wrong, I won't really mind missing this feature from the express editi ...Show All
jsstone Opening a Help File from a C# Application
I'm using C# Express B2, and I am very new to programming. I'm trying to have a help file (.chm) that I created open when the "Contents" option on the "Help" menu is clicked. I have added the help control to the project and set its namespace property to the location of the file. Now I'm stuck; I can't find the exact steps/code I need to make the menu item click actually open the file. How do I tell my application, "When the user clicks the "Cont ...Show All
Vinod_Saastha Why The H*ll Doesn't This Work
Hi There Module Module1 Sub Main() My .Computer.Printers.DefaultPrinter.WriteLine( "Hello World WithOut a Printer" ).Print() End Sub End Module Cheers Bronco Billy "Beer and Fast Women are Ok... No Cigarettes or Hard Liquor Allowed .NET where 2+2 is 5 and nothing works in debug mode. Pick a different language that will never change, such as C++, and stick to it. They're goi ...Show All
Evangelos SQL Server error 40
Hi, I'm using VB through Visual Studio team developer edition. In the server explorer when I try to add a new data source I get this message. "Could not open connection to SQL Server, Error:40 Provider: Named pipes provider" Through the surface area configuration I have tried every type of connection parameter possible. I am using a standalone system but yet I tried using tcp/ip and named pipes connection. Allowed ...Show All
hivani How can I Call the GetVolumeInformation API ?
Hello, I try to call the GetVolumeInformation API but the function returns zero and the GetLastError function returns the 1450 error code (Insufficient system resources exist to complete the requested service). What does it mean I think I can't use another solution because the GetVolumeInformation API is the only one which returns the serial number of a volume. My code is the following : Imports System.Runtime.InteropServices ...Show All
GForce Webbrowser again :(
Hello all, I am using this code sample to print a webpage from my program. My problem is that if I run it using debug it does print (altough not every time, and could not find out why...) BUT if I run it without the debugger, I always get an error message that "IE_Print Type is null or not an object. Any suggestion what is wrong private static void PrintPage() { WebBrowser wb = new WebBrowser (); wb.Url = n ...Show All
CJDuva Command object
In Visual Basic.Net 2003 there were oleDbCommand objects which I used to create a select statement. I then created an oleDbDataReader in code. The command object then executed the reader object which I used to fill my comboBox with items. I did this so that I could update the items in the combobox from another form and so the comboBox would put the string in my database field and not the ID. My question is: I don't see the command object and ...Show All
