douner001's Q&A profile
Visual Basic Graphics
So far in my programming 'career' I have managed to avoid graphics. Mostly because I have not needed it but also because it is an alien area to me. Now I need to do something and would appreciated any pointers on how/where to start. I am sure this has been done many many times before The specification outline is I have a series of objects - each of which is a rectangle described in terms of it's type, placement point, width, length and heading ...Show All
.NET Development How do I get out what I put into a stream?
I am surprised that this unit test fails. It fails with this message: expected: <"expected"> but was: <"expected I believe it's a null that's causing the failure. The second string is one character longer than the first. Here's the unit test: <Test> Public Sub StreamTest() Dim sr As New StreamReader( New MemoryStream ) Dim sw As ...Show All
Visual Basic include DLL widthout make reference....
Hi everyone. I use an external DLL and I want inlay the DLL into my exe program. (I don't want copy the exe program and the dll file, just 1 file!) How can I do that and I can call the dll file in the code Hello! I would recommend embedding the external dll into your assembly and then using reflection to locate and load it. That would allow you to compile it all as one file. There are some fancy linker ...Show All
Visual C# Remove Junk Characters
Hi, I want to remove junk characters from a string. The scenario is, I have got a rtf string and I want to remove the last para tag in the string ("\par") from the rtf. When I try to manipulate the string , I found some box like junk characters in the string. Please provide me a solution Not sure if this will help, but have you tried iterating through the characters in the string and printing out the c ...Show All
SQL Server SQL SERVER 2000 delete problem
Hi All! Im new here and Im not pretty sure if this thread really belongs here. I just want to ask why I kept on having errors in deleting a record in Enterprise Manager. Everytime I delete a record / row in a table it prompts me of Invalid Object Name. I guess its because of my table name "my.table" because it has a "." (dot). Does MS SQL not enclosed my table name by brackets "[]" to ensure success of action Anywa ...Show All
Windows Forms Virtual Keyboard For Touchscreen
Where would I find a pre-made touchscreen keyboard to integrate into my VB.NET project ...Show All
Visual C# How to get instance ID of object
In VB6 I can use ObjPtr to get object pointer. In .Net how to get it The advice is to use a custom override for the GetHashCode() function in ur own classes to ensure that it is unique: MSDN Content : This method can be overridden by a derived class. Value classes must override this method to provide a hash function that is appropriate for the class and that ensures a better distribution in the hash table. Classes that might be used ...Show All
Architecture Database Design based on Service Oriented Architecture.
iam working on a project in which i have a Requirement that , we have some basic attributes of every service such as. Service No , Description , Name , Service Type , in a service Table but we have some service that has more attributes + the simple attributes such as take a example of a service of it department we are creating on a system , such as New User id service , now in this case we have some advance attributes othen then simple , ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D tutorial using C#
Hi Any one can send the appropriate url for a 3D tutorial using C# With Regards Sinu.M and if those are not enough http://www.thezbuffer.com/categories/tutorials.aspx ...Show All
Microsoft ISV Community Center Forums Problem sorting dates!
Hi, apologies if this is the wrong thread, I have Access 2000 and am running a queyr that conaints the following field: Date, Time, Site, Data Date is in the format dd/mm/yyyy, time is hourly from 00:00-23:00, Sites are Various fields and Data is the values for each hour. The day format I work in runs from 06:00-05:00 the foillowing day, thereby for running over two days. This wouldn't be a problem if it wasn't for the site field. ...Show All
Visual Basic Newbie Database Question
This is a very basic question, but I've wasted a few hours trying to figure it out already, so I'm groveling for help. I'm looking for basic code to help me open a database, read some of the contents into variables, and that's it for now (close the database). The database in question is a flat table in mdb format; 8 columns, 15 rows - each row is a record with a name (p01, p02, etc) and seven associated strings - pretty primitive. The 1st column ...Show All
Visual C# how to make form invisible on startup?
I have an application that minimises to system tray and runs on windows startup. I would like the application to start with the main form invisible when loaded. Everything I've tried so far has failed. Any ideas Yes, that seems to work quite well now. Here's my solution for future reference: I have a boolean stayHidden which gets initialized when the form is created depending on wheather or not the program was ...Show All
Windows Forms How can I add same project in two different solution pointing to the same project in VSS
Hi All, I am trying to add the same project from VSS into two different solution. When I try to add the same project (File-Source Control-Open From Source Control) in different new blank solution, it overwrites the new solution name with the old one ...Show All
Visual Basic How to get the installation folder
Hello guys, I created a VB.net applcation with a setup package. I need to copy some files into the application folder after everything is installed. I know I can set the default installation folder, but the user may choose another folder to install the application during the installation process. My question is how can I get the changed installation folder name and path Any comment appreciated. Cheers. The code structure look ...Show All
Visual C# Multi-Line statement
How to write statements running into multi-lines in C#, like using "_" in vb6. Just do it. You can use as many lines as you like, so long as you're not inside a string literal at the time. ...Show All
