monstero's Q&A profile
Visual Basic sql database
I am trying to work on an inventory program for my model railroads using SQL. i got the form down pat, but when I test it out and put data in, close it, then restart the build, nothing. What am I doing wrong DUHHHHH . I accidentally stumbled upon the way to get it going after I posted this. Now, as long as I execute it from the release directory of vb, it will work. Sometimes I have to try it twice for the sql server to kick in. Thanks for the reply anyway. ...Show All
Visual Studio Team System Deleting a Team Project
Hi, is there any way to delete a Team Project created by me From Team Explorer exists the remove option but I couldn't find one to delete all the different parts of a Team Project (SCC, Project Portal, Work Items, etc). Is it possible Thanks a lot LucasC See Buck Hodges blog entry at http://blogs.msdn.com/buckh/archive/2005/01/24/359462.aspx . The post refers to the December CTP, but it works for Beta 2 as well. See the update at the end of the post for the path to DeleteTeamProject. ...Show All
Windows Forms Need to create a custom calendar control
Hello all: I have a C# windows application that needs a custom calendar. I need this calendar displayed as a month view. I also need the ability to insert/manipulate images and text into each day cell. I will also need drag and drop functionality for each item in the day. I figure there is two ways to go about this; 1) create a user ...Show All
Visual Studio Team System FxCop Rules Deployment
Hi, We have written some FxCop rules for doing standards check as per our company policy. Can somebody help me with the following details like What are all the possible deployment options as the rules will have to be installed on all the client machines Which is the best option and why I would really appreciate your help in this regard Thanks and Regards Prash Hi Prash, internally some teams check in their custom rules as binaries with the source, so that everybody has the latest version when they sync their source control system. Regards, Jeffrey ...Show All
Visual Studio Team System BUG while connecting to the SCS
1. Add TFS Server 2. Change e.g TFS Server Port from 8080 to e.g 5555 3. Try co connect to the TFS from Visual Studio - you'll got an error, the problem is that you have no chance to change server name in this situation! There is some related information in the following thread. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=103796 Buck ...Show All
Visual C# Interactive Report
How can I add click event handle to labels in report ...Show All
.NET Development Binary Serialization of DataSets - bug with DateTime-Columns?
I just tried to serialize a datatable which contains two DateTime-Columns (I use .Net 2.0). The result of serialize and deserialize a dataset in case if a DateTime-Column has value DBNull is not the same if you use binary- instead of xml-serialization! Here is the result if you use XML-Serialization : **** before serialize **** Date1: DAte2: 11/9/2005 3:03:01 PM ------------------------------- **** after deserialize **** Date1: DAte2: 11/9/2005 3:03:01 PM Here with Binary-Serialization: **** before serialize **** Date1: DAte2: 11/9/2005 3:04:02 PM ------------------------------- **** after deseriali ...Show All
Visual Studio Express Editions Adding rows/cells to an asp:Table
How do I add static rows/cells to an asp Table -- i.e., without manually coding them in Source view or dynamically adding them via code I've looked in help, but I can't see anywhere in Properties to add them, nor does a right-click offer any help, and there's no row or cell object in the Standard toolbox. I'm sure this is really really simple, but I just can't seem to find it. thanks...jon OK... I see; you have to be in design view, select the table, and finally the properties box shows the rows collect... Why isn't there a rows and cells object in the Standard toolbox ...Show All
Visual Basic Setup errors
Peculiar problem. I downloaded VB Express Beta. Setup.exe stops about 3/4 done. Task manager says it's still running, but nothing happens on the progress bar. After a couple of hours ( ), I tell task manager to close it, then it reports Setup is not responding. I've disabled virus scanner, firewall. No luck. Just now, I've tried on two other machines, and all have the same problem. All are running Windows XP. Do I need to install .Net 2.0 first Thanks Whatever you do.... don't install .Net 2.0. It won't be compatible with the express releases becasue as far as I know they ...Show All
Software Development for Windows Vista Visual Test is blocked from clicking UI
In the Vista docs, it mentions UIPI and UAP being off by default in Beta1. Since installing the Dec. CTP, Visual Test gets an error "cannot set playback hook" when attempting to click buttons on other applications. This is essential functionality for UI scripting via MSAA applications like Visual Test and Silk. What's the solution for enabling a VT to click buttons Is this a bug of the Dec. CTP or a feature We can and do run all of our Automated Script Testing as Admin. This however, does not resolve the issue. Have Microsoft actually hinted that they'll be dropping su ...Show All
Visual Studio Can I draw something on the report?
I want to draw sth on the report, how can I do that Thanks in advance. Long im trying to do the same, i have a field in a database that has point values (used on a bitmap), and im trying to output that into my winforms app. i have a custom code that takes the coordinates and creates a bitmap image, which can then be assigned to the image object but it doesnt work, for somereason it doesnt see the Type Bitmap... the solution to your problem might be same, you might need to create a bitmap image with the sth in it and place it on the report, but like i said, my solution doesnt build because it cant s ...Show All
Visual Studio 2008 (Pre-release) Custom/User Controls
I've spent the last couple of nights struggling with WPF user/custom controls. Currently I am adding usercontrols to the children collection of a canvas in the MainWindow OnInitialized() override, getting the data to create the child from the database. Now ideally this could all be done declaratively, by binding an observable collection to a custom control which can handle the user control creation and presentation, and encapsulating all that logic in the control rather than the main window. I've got a user control which for now just exposes a couple of properties such as name, and has a really simple bit of xaml for th ...Show All
Visual C++ show a txt file from ftp in a textbox(edit)
I have this code in c# . but I want it in c++ . what is the codes codes in c#: public static string ReadHttpText( String mURL) { WebClient oWeb = new WebClient (); string s = "" ; s = oWeb.DownloadString(mURL); return (s); } Application .DoEvents(); try { textBox1.Text = ReadHttpText( "ftp://username:psword@www.domain.com/filename.txt" ); } catch ( Exception ex) { textBox1.Text = "Error: " + ex.Message; } Hi, it's almost a direct translation. I assumed you were talking about c++/cli but if not then ...Show All
SQL Server Nested CASE statements Problem
I can't get the syntax right on my nested CASE statements nor have I found anything on the web pertaining to nested SQL CASE statements: SELECT rm.rmsacctnum AS [Rms Acct Num], SUM(rf.rmstranamt) AS [TranSum], SUM(rf10.rmstranamt10) AS [10Sum], CASE WHEN SUM(rf.rmstranamt) > SUM(rf10.rmstranamt10) Then CASE WHEN SUM(rf.rmstranamt) < 0 AND SUM(rf10.rmstranamt10) < 0 Then &nb ...Show All
Visual Basic Save and Load?
What I want to do is save the input from four txt boxes Name.txt Tel.txt Mob.txt Mail.txt After the input is saved I want to add new data and save again etc,etc. Then I need to load the information back again in to the relevant Txt boxes Name to Name.txt Tel to Tel.txt etc etc and scroll through forward and back to search for a paticular name. I am thinking it will have to be done with arrays but how to do it is the question. If this is a lot to ask maybe just start by showing me how to save first Thanks for looking. Public Class Form1 Dim Contacts As New Collection() Private Su ...Show All
