bsun's Q&A profile
Windows Forms Editable Panel within UserControl
I have a usercontrol that I drop a panel and a label onto. I dock the label to the top and the panel dock to fill. When I drop my custom usercontrol onto my form, I can't add controls onto my panel. I want the ability to add ...Show All
SQL Server problem with datetime value as parameter value
Hi all, I created a stored proc that has input datetime parameters (begindate and enddate), I tried the command: exec storedproc '20060320' in the query command part in Microsoft SQL Server Management Studio and it works but when I try to create a report dataset using the stored proc and execute it using value 20060320 it does not work. I even try using '20060320' and "20060320" as the value and it did not work also. I received ...Show All
SQL Server Setting up SQL Express for Web Access
Does anyone know of a good set of instructions for correctly configuring a sql express server for web applications (the sql server and web server are on different machines). I can see the SQL server from my web server, but only using the sa account and I would like to know how I should setup another user and what rights to give this user. If you are not proficient with SQL Server, I would suggest you to ...Show All
Visual Studio VSS 6.0 - Error Reading from file.
Hello All, I had configured VSS6.0 on my PC to hold all .c programs and some important project documents. Recently, my PC had some problems and XP Prof version was reinstalled on the C drive. The VSS folder resides on the E drive. So, I reinstalled VSS 6.0 on the C drive and connected to the VSS folder. Now I face a problem. It so happens that the contents of some of the folders are not visible at all and when I do a right click on the folder, i ...Show All
Visual Basic Create a comment snippet
Hi, I would like to create a snippet for comments. This is easy for static data but I want to add the sub or function name dynamically so wherever I insert the snippet it should add the name of the function or sub that I'm currently in. Guess it would look something like: ' <Procedure name> ' ' Objective : ' ' Parameters : ' ' Author : ' ' History : And obviously I want the Author and Procedure name tags to be filled ...Show All
Visual C++ Where can I get the best C++ tutorials.
Where can I get the best C++ tutorials. Im 14 and Im really interested in it. Also, Ive downloaded Dev C++ and I really like the whole layout of it. Is there a better version of C++. I also downloaded the free visual studios version of C++ and I didnt like it. Once you're used to it, the IDE is very good, and certainly the compiler is excellent. The one caveat, as I said, is that if you want to write GUI progra ...Show All
.NET Development System.net.Sockets.UDPClient
Hi There, Hope so everyone's kewl. I was trying to use the udpclient class to check the udp client server model and am facin an issue. it'd be gr8 if someoe can help me out with regards to this issue. Scenario: FrameWork Ver: 1.1 Server: create an instance of the udpclient class. IPEndPoint = new IPEndpoint(my ip address,port#) using UDPClient class UDPClient.send works fine. and returns sucessfully. Client: create an in ...Show All
Visual Basic Saving User Settings
I trying to figure out the best way to save user data / preferences for a program... For example, let's say that I want to save the personal information of my user (i.e. Name, Address, Phone Number, etc...) so that they only have to type it in once. What is the best way to do this Currently I am importing a simple text file with the information upon loading the program. If the user ever decides to change that information then the text file is ...Show All
Smart Device Development C++/CLI?
I distinctly remember being told that it would be possible in VS2005 to use C++ to develop using the .NET CF. I can't find any way to create such a project however. What gives Troff is correct, C++/CLI is the correct term for the language the VC team shipped in VS2005, and it's what we should be using. C++/CLI won't be going away anytime soon, as it's by far the fastest way to get existing, tested codebases run ...Show All
Visual Studio Express Editions Questions About WebBrowser and Compile
1. I was using VB 6.0 before i tryed VB 2005, In VB 6.0 there was "click" in the WebBrowser (WebBrowser.All.Item(ItemName).Click but i can't find any command in VB 2005 that does the same thing (well, my english sucks, that may be the problem) 2. How do I compile I was told that the "Build ProjectName" is it, but I can't find the compiler program... Thank you Ayal not sure about point 1, but po ...Show All
Windows Forms Don't show form
Hi, I'm trying to write an app that doesn't open a form when run, but puts an icon in the system tray, which when double clicked, opens the form. I can do everything except stop the form from opening. I've tried adding a this.Hide(); to&n ...Show All
Visual Studio Tools for Office display image in listobject
Can anyone tell me if there is a way to have an excel listobject column that displays an image Thanks, pedromc You cannot display an image in an Excel cell. I can think of a few different designs that might work, but it will depend on your application as to which would be the best. 1. You can place a set of PictureBox controls next to the ListObject and display the images there. ...Show All
.NET Development memory leak in window.open() method
if we use JScript "window" object to open a new page it causes a memory leak. steps to produce: create a button in a simple html page. on the click event of that button write the following code. window.open(" http://www.microsoft.com ") before clicking the button note down the memory status of "IExplorer.exe" click that button and surf the opened page. u will see that memory of "IExplorer.exe" will be increased. after s ...Show All
.NET Development problem saving DataTable to Access file .mdb
Hi friends, I have a problem saving data from a DataTable to Access file .mdb. I used the following code: Dim dt as DataTable ....read dt from mydb.mdb OK ....show dt in a DataGridView OK ....modify data in the DataGridView and update the DataTable dt OK ...now I want save data to mydb.mdb: Dim cn As OleDbConnection, adapter As OleDbDataAdapter ConnectAndOpenDB(cn) 'this function open the connection with ...Show All
Visual Studio The report definition for report 'xxx' has not been specified
Hello, I have to confess that I never did anything with reporting services, reports, or whatsoever. For a rather huge database application (based on sql express) I thought it might be best to do the printing with local reports, which I planed to bind to the objects, I already used as data layer in my project. I created a simple report (just a table, with two fields), bound the report to the ReportViewer-Control, set the bindingsource-proper ...Show All
