Padschild's Q&A profile
Visual Studio Express Editions Help me with importing c++ dll functions.
Hi, Im trying to import these functions from vb.net but i dont know what WORD and so on would be in vb.net and how I would call them. ////////////////////////////////////////////////////////////////////// // Decrypt Message From FrontCode Peer Cache Server // // Parameters // pSrc : (IN) Message From Peer Cache Server. Buffer must be 132 bytes. // pDst : (OUT) Primary Node Addresses. Buffer must be 120 bytes. // // Remarks // Node Address Structure // // typedef struct TAG_NODEINFO { // DWORD dwNodeIP; // Primary Node IP Addresses // WORD wUDPPort; // Primary Node UDP Port // WORD wTCPPort; // Primary Node TCP Port // BYTE bF ...Show All
Visual C# C# with XML
Hi All, What you recommend my use C# with XML only or to use C# with SQL server and Why. : And What the limitation storage of XML with C#. Thank you in advance. emind Hi, I am working on a courier type database. It will at most have like: ~1000 senders ~1000 receivers ~5000 sending records It won't be bigger then this as the old record will get trimmed. I am current coding it using xml as the database files. Will this be ok or I am better off using MS Access file as storage or sql server I don't know much about sql query at all that why I am avoid using MS Access file and sql serve ...Show All
Visual Studio Express Editions Assigning a Picture to a Picture Box Using Variables
Hi, I'm sure this is pitifully simple, but I can't for the life of me figure it out. I want to use variables to both refer to a picture box and to refer to the image assigned to it. For example: PictureBox21.Image = My .Resources.Resources._131 I want to replace the "21" and the "_131" with variables so that I can use a for...next loop to assign a bunch of different bitmaps to a bunch of different picture boxes. I keep getting an error that says "PictureBox is a type and cannot be used as an expression". What's the syntax for doing this Thanks Simple Code ...Show All
Smart Device Development how to get my Pocket Pc 2003 SE work in VS .NET 2005 beta 2??
My question isn't how to configure PPC to use internet.. I would like to create a Web application for smart devices and I would like to run it using the emulator PPC and his integrated browser Internet Explorer. But, I don't know which address to write in Address bar of IE in PPC to run the applications I hope you understand my question... ...Show All
Visual Basic how do I access Picture URLs in my database?
I am using VB Express windows application, how do I access Picture filenames (relative) in my database I have 13 records in which the last coloumn contains those relative picture filenames. I wish to display the pictures that those locations in a picture box on my form. As a filename is simply a string. I'm unclear on what you really want to do here. Are you saying you have filenames in a database and the actual picture are stored in file locations relative to the location of the database. So if the database was in c:\ and you have a path that if folder\xyz\abc.jpg then you want to retrieve the picture from c:\folder\xyz\abc.jpg ...Show All
Visual Studio SourceSafe plug-in in Beta2?
Any of my projects that previously were connected to SourceSafe now generate an exception that the plug-in is unavailable. Sure enough, there are no source control plug-ins installed. Is this something that must be independently installed to access Source Safe Strange that this all worked just fine in Beta1. I have successfully installed Visual Studio Team Suite Beta 2. I still get that error. I am not using Team Project yet so I don't really care about that. Let me know, please! thanks, Darcy ...Show All
Visual Studio Using Crystal Reports 10 with C# EE 2005
Hi! I've created report file for crystal report, and have placed report viewer on the form. Can anybody tell me how can I do the following: 1) Displaying the report in the viewer on the form. 2) To be able to change the data source programmatically before displaying it in viewer. Please respond with sample codes or specify related links. Thanks in advance. Sohail. 1) to display there are two main ways, depends on if you are embedding the report. But because of your second question I would suggest the following: place the crystalReportViewer on the form then add the following code: ReportDocument myReport = new Repo ...Show All
Visual C# some "struct" to "byte[]"
Hi people, Im new in C# and Im having some problems with language. The problem is that i have a function I want to call and one of its parameters is "byte[]" I have to pass an structure to this Byte array... let me show you... The structure is.... ****************************************************************** private struct TEXT_PROVIDER_SPECIFIC_DATA { public IntPtr dwMessageOptions; public PROVIDER_SPECIFIC_MESSAGE_CLASS psMessageClass; public PROVIDER_SPECIFIC_REPLACE_OPTION psReplaceOption; } ********************************************************************************** So in main code ...Show All
Visual C# Database connection dilemma
Hi! I have a dilemma concerning connections to databases... Should I open a new connection for each query, OR should I leave the connection open for all queries, and close it at the exit of application I suppose it is a matter of personal taste... The application in question is a client/server application. From that point of view, I think I should open a new connection for each query, but on the other hand, it's a very small application (only 3 queries)... I would like to hear from you. Thanks! Hi, Closing the connection after each query and re-opening when needed is the be ...Show All
Visual FoxPro pack table in a grid
<--- VFP 9 newbie We have a grid on the form that views a table opened exclusively on form init. The table is called from the grid builder and we want to manipulate it. Below the grid is a button that is 'suppose' to clear off all items in the table. On button _click event we select the table, delete all, then pack. Now the grid is void of the table and grid line. Futhur reference to that table is now invalid. How do I recall that table back into the grid after that pack command and to view/manipulate the cleared table We found the flaw in our logic. We should zap ...Show All
Game Technologies: DirectX, XNA, XACT, etc. .XWB file format
Hi, I need access to the WAV bits. I don't see a runtime interface to access this, so I was thinking I could extract them from the .xwb file. Now the problem is the file format. I see the .xap file format is listed in the docs, but nothing on .xwb. How can I obtain access to the raw WAV bits in XACT Regards. I ran into a problem where I had the incorrect byte-order for the WAVEBANKMINIWAVEFORMAT. format thing that reports those values. Also, the wBitsPerSample is only defined by one bit, so I guess that flag is a defined for either 8 or 16 bits. ...Show All
Visual Studio VS2005 problems converting VS2003 Solution
I downloaded VS2005 beta 2 and I'm trying to evaluate it to see what kind of work it's going to be converting our 2003 applications over to 2005. My initial conversion compiled, but had a fair number of warnings. Most were solved by editing the LIB environment variable. The others were mostly obsolete forms of some library calls. However when I tried to run it, it died trying to set up the tracing. TextWriterTraceListener(File.Create(fixedFileName))); I get an unhandled exception which seems to be saying it can't load System.xml which doesn't seem to make a whole lot of sense: {"Could not load file or assembly 'System.Xml, Version=2. ...Show All
Smart Device Development Visual Studio 2005 Beta 2 support for CE Device 4.2 ??
Is it possible with Visual Studio 2005 Beta 2 to develop for CE Terminals with CE.net 4.2 Greetings Heiko ;-) Is the decision to not support the CF2.0 based on technical reasons We have made planning decisions for the last 6 months based on documentation in Visual Studio 2005, an example of which can be found at the following Microsoft link. http://msdn2.microsoft.com/library/ms172550(en-us,vs.80).aspx ...Show All
Visual C++ the dreaded LNK2019
I'm getting an LNK2019. Usually I can pick these out, but I'm stuck on this one. Here are the errors: Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall utility::Vector3<int>::~Vector3<int>(void)" ( 1 $Vector3@H@utility@@QAE@XZ) referenced in function "void __cdecl Vector3Tester(void)" ( Vector3Tester@@YAXXZ) Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall utility::Vector3<int>::Vector3<int>(int,int,int)" ( 0 $Vector3@H@utility@@QAE@HHH@Z) referenced in function "void __cdecl Vector3Tester(void)" ( Vector3Tester@@YAXXZ) And here is the relevant co ...Show All
Visual Studio Express Editions ListView sorting question
Hi I have a ListView control called HSlist on a form which has 3 columns. The adding data seems to work OK, but the sorting is weird to say the least. Initially, I thought that the list would be sorted on the contents in the first column, so I added to the ListView with the Item containing the data that I wanted the list to be sorted on (numerical). Then I found that the list was being sorted on the second column (strings), so I swapped the adding routine so that the numerical data was now in the second column - the list now was being sorted on the first column (strings). What I want, is either to be able to dictate which column the ...Show All
