Ralph_Ai2x's Q&A profile
Visual Basic Display selected multiple list items in a text box
How to display multiple values selected from a list box in a text box \ I am able to display only one value in a text box ...could any1 please work out my problem... Thx i want to remove semicolon from last text eg: john;tom;roy;Gandhi; to john;tom;roy;Gandhi plz help me. ...Show All
Windows Forms I unchecked "Automatically generate deployment webpage" now...
So I unchecked "Automatically generate deployment webpage" under the Options button so ClickOnce would publish. (original post here ) Now, how do I create a deployment page to test out the app Regards! =) You don't really need a test page...just open a browser and type the URL in directly. For instance: http://localhost/MyApp/MyApp.application or http://localhost/MyApp/setup.exe That wil ...Show All
.NET Development ADO/SQLExpress Connection String Question
I'm working on a customer project and deployment project. SQLExpress is part of the installation and there is a pre-existing database. As installed, the database is detached. This application uses ADO.NET to establish SQL connections and it also uses Excel VBA to connect to the database via ADO. The following SQL Connection string works for SQL (as far as I can tell) Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\XYZ_Data ...Show All
.NET Development How to generate 64 bit executables with visual basic .net?
We have code that was created in visual basic 6. Now we have a new itanium 64 bit machine, and want to take the old code and generate 64 bit executables that will run on the ia64 machine. The question i have is what is the easiest way on doing that From what i see on the forum it looks like i have to take the project generated with visual basic 6 and convert it to .net 2005 edition, and than using the .net framework 2 beta will cr ...Show All
Visual Studio Team System Team Foundation Server RTM Installation Issues
Hello, All. Problems installing TFS RTM application tier. Everything else in the AT install process goes fine, but towards the end it fails with an error that I can't find any reference to elsewhere: "Error 28300.Adding the Team Foundation template to Windows SharePoint failed" [Abort, Retry, Ignore] On examining the MSI log, I find this section: ... 06/11/06 02:05:52 DDSet_Status: Process returned -2130575267 06/11/06 02:05:52 DDSe ...Show All
Visual Studio Express Editions PageSize difficulties
Hi, My application has two different size documents to print. First there is the standard 8.5" x 11" letter size sheet and the second is a 5" x 8" index card. The letter size sheet it to print in portrait and the index card is to print in landscape. I seem to be able to change the page orientation, but not the size. Her is my attempt to code this: Private Sub PgSettings() With printDoc.DefaultPageSettings ...Show All
.NET Development How do I get back the identity column value genarated by SQL server in my .NET code
How do I get the value of the identity column genarated by SQL server in my .NET code. Here is my code: str = "insert into TblAccount(Name) values(@Name)" pm = cm.Parameters.Add(New SqlParameter("Name", SqlDbType.Char)) pm.Value = "whatever" cm.sqlcommand=str cm.ExecuteNonQuery() In the database, my identity column is "AccountNumber", but I don t know how I can get it back from SQL sever (I hope I ...Show All
Windows Forms DataGridView DefaultValuesNeeded
I used the Default Event to automatically set Date and Time in my DataGridView However, the cell for the time is recording: 04/10/2006 1:50 PM instead of just1:50PM private void DgvCalls_Default(object sender, System.Windows.Forms.DataGridViewRowEventArgs e) { e.Row.Cells[0].Value=DateTime.Now.ToShortDateString(); e.Row.Cells[1].Value = DateTime.Now.ToShortTimeString(); } any ideas thanks, I used: Data ...Show All
Microsoft ISV Community Center Forums Syntactical error within For loop (VBA excel)
Hi all Having problems trying to get the following peice of code working. It's basicaly being used in an excel macro to automate a manual process i do regular in work. Sorry if its very basic but ive only started out with VBA today! Sub calc_award_value() 'IF statement to calculate correct award amount based on yrs service 'feel free to add more awards if necessary i.e. 35, 40 yr! For x = 1 To 300 If (Range("F2") ...Show All
Visual Studio Express Editions How to Modify My Database Schema
I've built a C# app. in VS 2005 Express that uses an MS SQL Server 2005 database. Everything is coming along swimmingly, but I've found that I now need to add a few new columns to my tables. How do I go about doing so without jacking-up my table adapters/data set Does everything update automagically, and I'm just being overly cautious Thanks! ...Show All
Visual Basic ADO/Access Questions
I've had a moderate amount of of experience with access databases in vb6. We'd declare a file system object and from that declare a workspace and from that a record set descriptor. One could picture and understand what was happening. VS2005 is different though. You could create and delete tables and define them dynamically. VS2005 seems to be different. It seems that things are done up front in the IDE Almost as if the relatio ...Show All
SQL Server ODBC connection failing on 64 version of Windows 2003 server
I have an application that talks to a SQL backend using an ODBC DSN connection. It works fine when running on a 32bit machine but fails in the 64bit environment. The DSN is setup properly on the 64bit box and the Test Connection returns sucess. However when my application tries to use the DSN to connect to the database I recieve the following error. IM002 - Data source name not found and no default driver specified. The data source nam ...Show All
Visual Studio Team System IOExceptions
As I increase the load in my load test, I see an increasing number of IOExceptions. Message: "Unable to read data from the transport connection. An existing connection was forcibly closed by the remote host." Error stack trace:' at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)". I see more of these with % new users = 100, fewer with % new u ...Show All
Visual C++ Confusion with watch values during debugging
The debuggee is a mixed (MFC + /clr:OldSyntax) exe. The application is linked with some assemblies (MFC extension DLL's, /clr:OldSyntax enabled) Compiler settings: Release build, Unicode, Disable optimzation After a breakpoint is reached, I will watch some values. Here is a look at my watch window: + this 0x01010a8 ...Show All
.NET Development Application updating itself
Does anyone know what technique(s) programs like EverQuest, Norton AntiVirus, etc. utilizes to update themselves They certainly are not using ClickOnce, and unless you are an administrator or power user, programs don't normally have write permission to the Program Files path. Richard Rosenheim EQ and NAV indeed do not use ClickOnce. Basically, the applications poll the server to see if an update is necess ...Show All
