john-in-co's Q&A profile
Windows Forms for DataGridView Control ,How to Get Cell's coordinate
for DataGridView Control ,How Get Cell's coordinate I know the Cell index ,But I dot know how to Get the Cell's coordinate good luck everyone How are you getting the cell "index" Also, what are you trying to accomplish Are you trying to find out what row or column is... clicked, perhaps ...Show All
Smart Device Development Pocket PC 2003 SE Emulator - Generic Error
I have Visual Studio 2003 installed (with ActiveSync 3.8 of course) and just did a Full install of Visual Studio 2005 Beta 2 Team Edition. I can create new Pocket PC 2003 SE applications. I can convert existing Pocket PC 2003 SE applications from Visual Studio 2003 to Visual Studio 2005. Any attempt to deploy these to either 2003 emulator in Visual Studio 2005 results in a Generic Deployment error that has no recommended course of action. What is the correction hi , i am really suffering from this problem. i can not connect to the network via ppc2003 se emulator on visual stud ...Show All
Visual Studio Team System Workspaces meant only for filtering?
Is filtering is the sole purpose of the workspace feature http://forums.microsoft.com/msdn/ShowPost.aspx PostID=97724#97724 Will it get the latest version of the build if it is specified as < Project DefaultTargets = " DesktopBuild " Hi Nike Yes the workspace is used to filter files that you select to build through Team Build. We have an MsBuild 'Get' task which does the job of getting the sources on the Build Machine for us. If you need to get the latest version instead - you can customise this behavior by writing your own Get task with this behavior and plug it in the Microsoft.TeamBuild.targets file instead of th ...Show All
SQL Server INSERT and SELECT in one SP
I've used this Insert into MyTable (fname,lname)values (@fname, @lname); Select 0 as retval; but the SELECT in not working , how can i do both in one sp Thank you all Kob_Kob Why are you using ODBC to connect to SQL Server Does your application target different databases SqlClient is the most efficient way to access SQL Server from .NET. Below page has samples on how to use the parameter collection: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconUsingStoredProceduresWithCommand.asp ExecuteScalar serves a different purpose. It is typically used to run a query that ret ...Show All
Visual Studio Express Editions Problem creating a querry with an embeded variable when using access datafile as connection source
When a Data Connection is established using Microsoft SQL Server Database File (SqlClient) as a data source the following code works perfectly SELECT * FROM ProdMaster WHERE (PRODMASTER.DESCRIPTION LIKE '%' + @DESCRIPTION + '%') The ToolStrip on the form opens an input box so you can type in a choice of DESCRIPTION and when the button is clicked the dataset returns only those values that meet the criteria input BUT If you use a Data Connection established using Microsoft Access Database File (OLE DB) when you attempt to establish the querry above you get the following error Error in WHERE clause near '@' . Un ...Show All
Smart Device Development How to convert Pocket PC forms VS2003 to VS2005?
I have many forms created using VS2003, pocket PC and Smartphone. In the VS2005 there is a new file together the main form file called <form name>.Designer.cs. How can I generate this file for my forms Or I need to re-design all forms (The import wizard only converted the project). One of the errors I have: Forms\PPC\frmEstTime.resx : error MSB3103: Invalid Resx file. ResX input is not valid. Cannot find valid "resheader" tags for the ResX reader and writer type names. I found the solution for this: 1) In the properties windows for the resx file, insert ResXFileCodeGenerator in the Custo ...Show All
.NET Development CDO Mail very odd missing period in file name
This is a standard ASP question. I am using CDO mail object to send a confirmation email from and ASP website. When I get the email in outlook all is fine but the period between the file name and extension is missing. Other periods in the URL are not affected. The message includes this line "https://www.readysecure5.com/users/spiritualcompetencycom/QuizSummaryForm.asp " but the email only has this "https://www.readysecure5.com/users/spiritualcompetencycom/QuizSummaryFormasp " Note the missing dot in QuizSummaryFormasp instead of QuizsummaryForm.asp. I have tried everything I know. HELP. John McKenzie john@jmckenzie.com ...Show All
Windows Forms Drawing outside of your Form
Anyone know how I can draw something outside of my Form Anywhere on the screen for example, say I want to take a screen shot of only a single area of my screen, so I select that area, then take the screen shot, how would I "show" the selection (dashed rectangle) anywhere on the screen outside of my little form used to initiat ...Show All
SQL Server Export database from SQL server 2005 to 2000
Hi I need to transfer schema and data from SQL server 2005 to SQL server 2000. Backup had been perfect, but a backupfile made by SQL server 2005 can't be read in SQL server 2000. I seach for a solution but I did not found any. Is there someone that have a solution Hi, either make an import from the 2k server or an export from the 2k5 server via DTS Assistent. Another but more complicated way would be to create scripts of your database objects and data and execute them on the 2k system. But prior to that you have to make sure that they are compatible with the 2k system. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Branching and Merging: Best practice
Hello, I'm trying to design a new directory structure for a large project which is migrating from using Visual SourceSafe to Microsoft Team System for Source Control. I guess my problem is the following: I'm used to CVS, and to how CVS manages branches and merges. As to what I have understood, the only way of creating branches is to select "branch" in the Team System Explorer and to create a new branch directory. That would be fine with me, but now, the problem arises: How can I accomplish that my new branch is downloaded into the same directory as the trunk (main branch) This is needed most of the time, as it is not possible ...Show All
Visual Basic VB?
Hi, I was wondering if there is any free version of VB around And which is better to learn ( ) VB or C++ or whatever the laguage is called ^_^ (sorry I'm a beginner :)) Thanks, Henry. Henryl77 wrote: I was wondering if there is any free version of VB around VB 2005 Express is freely available at http://msdn.microsoft.com/vstudio/express/vb/ All you need to write VB applications is a text editor and the VB compiler, which is included in the .NET framework which is also a free download. ...Show All
Windows Forms Module Variables
Hello, I have created a module in my project where i declare some public variables which i use. I used this way so i can reference them globally from other forms. This is my module: Module Settings Public LowThreshold As Integer = 10 Public VAT As Double = 15 End Module Is there any way i can alter the values of this variables& ...Show All
.NET Development How do I connect to my SQL Database over HTTP???
I have successfully deployed my application (VS 2003 VB ) with No-Touch deployment. This app connects to a SQL DB on thesame network. However, I have some new users who want to use the app outside of the network e.g from home via the Web How can I change my SQL connection so that the app connects to the data over HTTP. The SQL server is not on the same machine as the web server. I cannot find any information abhout this anywhere - pleaese help!!! Cheers, Mike. Being just a sql server user and not a sql server expert I can think of the two following options. I guess you can get more help in the SQL Server fo ...Show All
Visual Studio Tools for Office How to edit the Oultlook default folders's name?
How to edit the Oultlook default folders's name for example: change the "Inbox" to "My Inbox" thank you I am sorry that I can't describe the question clearly. Because I am in China and the wrong message is displayed in Chinese. The wrong message is translated by me The message means I have no permission to change the name of the Inbox. ...Show All
Visual C# Capture video stream from camera plugged to usb port
Hello all, how can i capture a video stream on a usb port on win xp using C# language only thanks in advance for any suggestion Hello all, how can i capture a video stream from a camera connected to a usb port on win xp using C# language only i would like to set a configuration file in which i fix the settings of the video such as brightness, hue, contrast... thanks in advance for any help ...Show All
