Matthew Feng's Q&A profile
Visual C# database
Hi, How can i store information in a database And then when i want to read information from 1st id, how can i do it Sorry for being idiot, Guilherme Take a look at common task samples for ADO.NET in .NET Framework SDK. Here's link to online version of it: http://www.asp.net/QuickStart/howto/doc/adoplus/overviewcontents.aspx If you run into specific situation/error let us know. ...Show All
Visual C# Dynamically Form Generation
In C# , how can we easily generate form dynamically Suppose i want to write code under some buttons of different forms to show a form(where i may add controls anytime from anywhere) dynamically. I may click on those buttons more than one time. But it will show me the form only once. How can i resolve this Pls Help & Encourage Me (For more details) There are 2 forms(f1 and f2), 2 buttons(fb1 in f1 and fb2 in f2). Clicking on fb1 b ...Show All
SQL Server Design question SQL Server 2005
I am very new to SQL Server 2005. I have a database of criminal records consisting of a master table of names where the primary key is a case number and 3 related minor tables: violations, charges, and appeals. They are linked by the case number with a one-to-many relationship. Not all of these tables have a record for every master record. I am designing a simple lookup program in VB 2005 in which info from all tables will be on one screen. A ...Show All
Windows Forms Embed progress bar into a tabular structure
Hi, I want to have a tabular structure with only a couple of fields, but i want one of the fields to display the data as a progress bar. Is there any quick way of embedding a standard windows progressbar into the column Thanks Thanks for the reply. Hmm, i'd really like to use the built in 'xp' progressbar. I only require a very simple table structure, it doesnt have to be sorted or anything. I want to use it to ...Show All
SQL Server The Report Services Instance could not be found
I Try to connect to Report Services I Recieved This Message The Report Services Instance could not be found (Microsoft.SqlServer.Management.UI.RSClient) which version of Microsoft Server do you use I thought a small business server did not have a aspnet-user ! ...Show All
Visual C++ C1083: Cannot open include file: 'resource.h'
Project converted from VS.NET 2k3 to VS2k5. Receive the following error in several projects (6/21) that build fine in VS2k3. The include file exists, is part of the project (auto generated by VS2k3). Anyone see this Thanks. Harrier Many of the #includes were unnecessary so I cleaned those up. Joys of being on a large team. Did a complete CLEAN of the project and deleted all temporar ...Show All
Visual C++ XML Documentation Comments
In new development I've selected to use .NET 2005 and of its features the one leveraged most in moving old code is the XML Commenting from which I hope to product documentation. I've found a problem on the C++/CLI side that I hope someone can help with -- whenever I have a method with a parameter such as array<char> ^ the documenting for that method does not display in Object Browser. As an example of this problem add the ...Show All
Visual C# EventLog que
My aplication has following lines of code EventLog myLog = new EventLog("Debug Log"); myLog.Source="Trace Output"; EventLogTraceListener TraceListener = new EventLogTraceListener(myLog); Debug.Listeners.Add(TraceListener); Trace.Write("Successfully Excecuted Method..Trace"); Debug.Write("Successfully Excecuted Method..Debug"); Trace.AutoFlush= true ; If i add Trace. Listener ...Show All
.NET Development Message framing and SSLStream
A bit of background: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=142895&SiteID=1 and http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=120007&SiteID=1 Will using SSLStream (or NetworkStream) with TCPListener/TCPClient solve message framing problems I don't think using SSLStream will solve your message framing problems at all. The class just abstracts you away from the overhead of cr ...Show All
Visual Basic Application Icon
The help file says that any icon added to the application under resources should be listed in the drop down for the application icon. Mine do not show up! Anyone know why I believe we would need more information to help. Is the icon file available somewhere we can look at Did you make sure to add it as an Icon in the Resource Editor, and not as an image Is it a .ico file ...Show All
Visual Basic Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Draw the image yourself in a paint handler, and use the imageattributes class to make 255/0/255 ( magenta ) transparent. ...Show All
.NET Development MSXML stack overflow
I am using VC++ ver 6 compiler . I am parsing xml file with MSXML .. but It crash when my file size is app 500mb . It crash on loadxml() method . is there any solution to prevent it . Hi could you post that code,which will be helpfull to trace the problem ...Show All
Visual Basic WithEvents' variable does not raise any instance events that are accessible to '<containername>'
Hey, another cry for help (This is simple though) Inside Class1 There is an event --> Public Shared Event1 (..) In Form1 when Instansiating the class Public Withevents myClass1 as new Class1 I get an error saying WithEvents' variable does not raise any instance events that are accessible to '<containername>'. If I remove the "shared" from the event, the error disapears. How can this be fixed I can't remove the shared from the event be ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can I do this In VB
Can I do this, or rather accomplish the same result in basic Vector3* myVector3 = (Vector3*)&someMatrix.M31; float x = myVector3->X; if so, how Thanks! i'm sorry, here is all of the code. Vector3* myVector3 = (Vector3*)&someMatrix.M31; float y = (float)Atan2(myVector3->X, myVector3->Z); float length = (float)Sqrt(myVector3->Z * myVector3->Z + myVector3->X * myVector3->X); ...Show All
SQL Server Complex SQL query
Hi, I'm doing a report with a group of queries but right now is very slow, so I need to do it faster. These are not the real tables but will help: The report needs to show the total products for every combination of ADDRESS and PRODUCT_TYPE. Assume these are the tables: ADDRESS: ADDRESS_ID, ADDRESS_NAME PRODUCT_TYPE: PRODUCT_TYPE_CODE, PRODUCT_TYPE_NAME ORDER: ORDER_ID, DATE, ORDER_STATUS ORDER_LINE: ORDER_ID, ORDER_PRODU ...Show All
