Answer Questions
ngoclinh_nkotb Refactoring - LNK4221
Hello, I am refactoring some C++ code in Visual C++ 2005 Express Edition. The class I am trying to refactor is a template class. I have split it into a .h and a .cpp file It is compiled then linked into a static library (.lib). When linking the new .obj file, a LNK4221 warning flags. I have tried the __declspec(dllexport) attribute and the /EXPORT linker option. But the archive member remains inaccessible. Could you p ...Show All
ondrej_bohaciak Running a console application inside a windows app.
I have a windows forms application that I am writing, and a second console application that someone else wrote. I'd like to be able to run the console application in my windows application. An example of what I mean: http://www.winterboard.com/example.jpg I'd also settle for a way to start the console application hidden and then just redirect the output to that area. Is this possible Any ideas Thanks in advance, - Danielle ...Show All
Cocotteseb newbie question about adding a record to Access DB with VWD 2005
I am new to VWD 2005 and doing some learning. I am using Visual Basic as the language. I have a pretty simple Access DB that I am connected to. I can Edit and Delete records fine. However, I cannot find how to be able to add records to the database with VWD2005. Any assistance or pointing to a good tutorial would be greatly appreciated. I am thinking there is a simple way to do this, but I am just missing it. Flanman As a ...Show All
Hillgogoangel Full working database sample.
Hi, I am trying to learn to build a database in Visual Studio 2005 Expresse. Building a working apllication with only one table is no problem, but an apllication with related tables is another thing. For learning purposes I tried to find a working sample on the internet. But didn't find anything. Is there anybody out there who can tell me where to find a working sample with Vb source code to understand how it works. Many thanks in ad ...Show All
Savannah Filecopy("c:\xx.txt","\\Lan\Folder\xx.txt") error
I need to replace File of Share folder. But I show Error as "Process can not access to file \\Lan\Folder\xx.txt it is being used by another process" That I am sure that File is not used and Folder is share Full access. Please help. PS : Other Function such as Kill(" \\Lan\Folder\xx.txt ") also Error. Can you delete the file using Windows Explorer when your application is run ...Show All
CTY Disabling keys ????
Hello, I am currently designing a game where you can only exit the program once you have completed a section. There still is a way to get out though, CTRL - ALT - DLT Is there some code that will allow me to disable these keys Or atleast diable Task Manager Thanks in Advance, Uzzy LOL. No, its a game for a friend. He wants to see what i can do with VB. I do not intend it to be a virus at all, its a friendly game. Plea ...Show All
Mad Dave Graphics questions in VB
Hi there, I'm planning to make a graphics program in Visual Basic. Although I used Visual Basic a long time ago, and have somewhat of a knowledge of programming, I am by no means expert (you might say barely past beginner) and have been more of an enthusiast in the past (my real job is design and animation). Recently, I downloaded VB Express and decided to take the plunge again. Before I start cramming all the information that is out there ...Show All
Robert Warnestam No symbols loaded, required BGL file errors after program execution
I downloaded Visual C++ 2005 Express today and followed the instructions to install and use the Microsoft Platform SDK. No problems so far. I can generate, build and execute a Win32 application without any problems. However, after the application exits, I get the following errors in the Output window. I really have no clue what is going wrong here. The same thing happens when I build and run an other simple W32 application that just prints a si ...Show All
Ivan Towlson How do I view Console.Writeline?
I'm rather new to programming. I've read two VB Express books and everything that I could find concerning Console.Writeline, and yet I still cannot figure out how to view what I write to it. When I use Debug.Writeline, I can view what I write to it in the "Immediate" window. I guessed that I should be able to view Console.Writeline in the "Output" window. Is that correct I tried things like the example below, and nothing ...Show All
pelazem I lost the Win32 Application wizard...
Hello, I installed VC++ Express 2005 Beta 2 a couple of weeks ago, followed by the Platform SDKs for Windows Server 2003 and for Windows XP SP2. I didn't manage to understand which of them was what I needed so I installed both (having some problem with the offline setup of the first). So when I knew that there was a new release which solved my doubts and my installation problems (I hoped), a disinstalled the old one ...Show All
swordllake Un-escaping XML?
Hi, just playing around with some XML stuff in c# and have a problem un-escaping a SQL Connection string... The XML is as follows: < xml version="1.0" encoding="utf-8" > <dbSettings> <connectionString> User ID = ****;Password = ****;Integrated Security = False;Initial Catalog = CMS;Data Source = vaio\sqlexpress </connectionString> </dbSettings> I'm using a nodeiterator and fetching the req ...Show All
AlexZakharov ListView Woes
I am creating an Archive directory project and have run into a problem with my listview. I am populating a listView with a directory listing of directories withing a selected directory. I am doing this so that users may select those directories they want archived and leave the rest alone. Here is the code I am using to generate my listView textBox2.Text = "" ; listView2.Clear(); // Create a new ListView control. //listView1.Bound ...Show All
ShaneC Random Numbers again!!!
Hi there, i think i have gotten into a bit of a fix... here is the problem: i have used the random obj to generate random numbers between 1 to 90. some times when the application runs, it picks a number twice. for example an output would be 2,8,34,2,67.... is it possible to make sure all numbers picked are only selected once that is if i request for 10 ranadom numbers, each 10 digits would be unique... this is driving me nutts!! ...Show All
C_TO casting to base class
I'm new to C#. I am having problems with what I was hoping would be a simple concept. I have a class that is derived from the Form class. (Something like what follows:) class MyClass : Form { ... } I would like to pass a reference to the base Form of MyClass to a static method that will modify Form properties of MyClass. (something similar to what follows:) class Utility{ public static Method(Form f, ... ); } What is the ideal way to do this ...Show All
RCHINTH Nplot.dll - Free .NET chart plotter component - How to implement?
Hi, Anyone has used this component In VB Express How does one get the plotspace in a form Download at http://www.nplot.com Thanks Jake Hi, I'm one of the current maintainers of the NPlot project... > This one looks nice, and may be usable (I'll have to check the license). The license was been recently changed to BSD... i.e. use it however you see fit. Jamie McQuay ...Show All
