Doug Peck's Q&A profile
Architecture Database Design
Hi All, I need some advice and reference on database design. The database my application uses will have many tables, each with many columns. Most of the columns store data generated automatically by the application, and the data could be regenerated and overwritten by the app when necessary. However, I want to have the ability to let user overwrite the values through UI, so the app would not overwrite them. This is similar to the Tax software, where you can overwrite almost anything. What is the best design for this Thanks in advance. Regards, Q This is more of an application design than the database design. You define your database, whatever way you want - many ...Show All
Visual Basic Can't Get VB6 Serv Pak 6 to install in Vista RC1
Has anyone gotten VB6 Service pack 6 to install in VISTA RC1 I tried and it errors out with some cryptic error about a missing file and quits. VB shows no sp installed and programs that were created with SP6 installd on XP will not run in the API on Vista RC1 with an error message "Component missing". Has Microsoft a fix for this We have lots and lots of custom written programs that we will have to maintain and support on VISTA (if installed) and there seems no way to do it because the service Pack 6 can't install. I'll apologize for the double post but this conversation seems more applicable. I have a brand new clean install of Vista Ultimate. No matter what I do, I'll right click on setup.exe on the CD of ...Show All
Visual Basic My Email App Sends to Junk and Spam only
I have Developed a Windows Application using Visual Basic .NET 2003 All Problems about CDO Object and Attachment file size it's all solved but there is still one problem it sends only to Junk Mail Or Spam It Never arrive to Inbox except one time it just arrive there and didn't happened again Oh plus as Security Problem I can't use a specific SMTP Mail My Code always Use my Machine as SMTP Server and it send as any email with any Domin name even it's not Exist Please Ineed Help yes in that case its to do with your email client configuration about filtering junk mail, if you state that even sending it manually via your email client still leads to the email being placed in the junk mail. ...Show All
.NET Development Read webfile
I’m looking for a way to read a dynamic php page on the web and save the text in a array, line by line. The file is just like this one and need values (http://domain.com/ mode=info&value=1) I can’t find a effective way to do this though so im wondering if anyone can point me in the right direction or give me a small code example of what controlls/methods to use. Im really stuck atm =/ If you can do the line splitting part, WebClient.DownloadString() will do the rest for you. ...Show All
.NET Development Display Compiled HTML help file in VB.Net app
I have created and compiled a HTML help file and want to open the Help Viewer when the help button is clicked in my app. Please show me how to do this. My application is written in VB.Net using Visual Studio 2005 and the help file was written and compiled using Help & Manual V4 Thanks If you just want to display a help file when a regular button is clicked: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Help.ShowHelp(Me, IO.Path.GetDirectoryName(Application.ExecutablePath) + "\myapp.chm") End Sub If you want to display help with the context help button in the form's title bar, use the HelpProvider component... ...Show All
Visual Studio Team System Cannot get the target machine's performance.
Hi, I am a newer using Load Agent to do performance test. when I did a tst , I could not get the target machine's performance counter. I had turned of the firewall but there is not the name of target machine in the computerlist. One thing of note that I learned is to be aware of permissions. I had the same issue doing a load test across networks.. VS was on one network hitting a KB server and I could not collect performance data since I had no permissions to gather data from the server box. I was unable to find a 'connect.. as' so I moved VS into the network, logging in as the test lab's domain administrator. Once I did this, my counters worked. It would have been nice if VS came out and told me "cannot connect t ...Show All
Visual Studio Express Editions Some things I gotta know
I'm just recently introduced to VC++ I'm sort of a not noob and I want to know some things, I formaly program with GNU, the program is called BloodShed Dev C++ if your fimiliar. I know just about everything else from pointers to advance polymorphism. What does "^" do I've seen this alot and can't quite understand it, is this a pointer or what What does a code in "[" and "]" mean Besides arrays. I've never seen this being used besides in arrays, I'm guessing assembly options What is "::" when having nothing before it. That's definitely a syntax error in dev c. There first two are part of C++/CLI - a C++ binding to the .NET Runtime for more ...Show All
Windows Forms adding single records to a gridview
I have a cbolist the user will select a name hit enter then a query runs to get that name details and enters it to a grid view, the user clicks another name and its details are added. How do i do this. i have only used the adapter.fill(table) gridview1.datasource = table but only one record is showing the last one clicked. well its not going to work exactly like that. everytime you fill a dataset it will I believe clear out the existing entries and fill it with new data and this is what you are binding to the datagrid. instead you may wish to use a SqlDataReader, read the data and add it into a listbox perhaps, or even create a datatable locally and add values to that and bind it to the dat ...Show All
Visual Studio 2008 (Pre-release) How to avoid serialization in BeforeSendRequest/GetReaderAtBodyContents?
I am using a IClientMessageInspector to do custom logging request messages and response messages. In my BeforeSendRequest implementation I create a buffered copy of the message and get the body content using the method GetReaderAtBodyContents. We are profiling our application using VSTS instrumentation method, and in the call tree we observed that the get properties of our message are being called. Since I just want to log the raw body message, I wanto to avoid this extra serialization. What I want is to have access to the raw message after beign serialized, but before being sent. Is is possible to do this BTW, when we receive the message from the service, we do the same process, but now in the method GetReaderAtBodyConte ...Show All
Visual Basic How to create a custom control
Is there a reference guide or something similar on how to create a custom control in vb.net Hello I have vs 2005. the link you showed, i tried but i could not even get the project to import/convert to 2005. however when i follow the steps i see that one request in teh steps is not what i have on my screen re changing the imports statement, have you a link or suggestion how to do the same in vs 2005 please. many thanks ian ...Show All
Visual Studio Express Editions Building A Cd Collection Program Article
When I first started doing research on the express versions of the visual studio programs I came across an article that talked about using sql express and on of the languages to make a program to keep track of a cd collection but now I can not find that article anywhere. If someone could post a link to that article it would be much appreciated. do you perhaps mean the My Movie Collection starter kit see http://msdn2.microsoft.com/en-us/library/w6ce4ebt.aspx (This is the Visual Basic version.) when you load and run the starter kit application, a tutorial is launched in Visual Studio hope this helps -Mick ...Show All
Game Technologies: DirectX, XNA, XACT, etc. IDirect3DDevice9 and multiple windows etc.
Ok, so you said we could ask anything here... :-) We currently have an app running with thousand of users online, and the client uses DirectX7 2D. Have been test-converting it to DirectX9 3D. Runs very well in test, but before advancing in modifying all the code, I have some questions, which are code design questions... here goes... What do we have now: we have one window with the app running. What do we want to have: multiple windows, showing different graphics from the same graphics-base. So when I create a texture for use with a sprite (for now), then the texture seems to be bound to the device and the device seems to be bound to a window. So if I want to have 5 windows (different size), then does that mean that it has to have 5 d ...Show All
Windows Forms Combo Box width settings
Dear All, In the windows form I am able to manipulate the length of the combo box from the properties. But when I am trying to change the width the value remains as 21. How can I edit the width of it Can anyone assist me on this Thx. Another method to adjust the "height" of the ComboBox, the way you see it fit, is by OwnerDrawing the ComboBox. This requires more work than just "adjusting" the height. Regards, -chris ...Show All
Visual Studio Express Editions Microsoft Chart Control
I've managed to get the chart control into my application from instructions in a previous post on this subject. I've placed a chart on one of my forms and have formatted the color, X and Y-axis, etc. But how do you set what data to use for the chart (bar chart in my case) I can't find anywhere where you set the data to use in the chart. I'm trying to use data from a datagridview on the form. It's a simple datagridview with two columns of data (Date and Price). Has anyone used this control and successfully linked their data to it Thanks, John reichard, I'm still unclear how you are binding the data from the DataGridView to the Chart. Would you explain further I have inserted Microsoft Ch ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Auditioning not working on Windows
Using the XACT GUI, I have been unable to get anything to play through auditioning. I start and connect to the XACT Audio Console, get no errors, but the sounds just don't play. The in-game sound works fine. Anyone else experience this My audio works fine for all other applications. I am also getting an error that says "Could not connect to Windows Auditioning Server". I am using the August 06 SDK. I get the error when I try to play my sound in the sound bank. I used your default "Basic" tutorial to generate my first Xact file. I am new to your software, so I do not know what "The Auditioning Console" is. Please advise. ...Show All
