Emongii's Q&A profile
Visual Basic Splash Screen In Visual Studio .net 2005
I wanted to know how do i make the splash screen only show for a few seconds....I can get the splashscreen to display but it seems it will not let me add a timer so i can set how long i want it to show before it calls the exit method......If i should use a Thread to do it can someone give me an example on how to get it done....thanks!!!! I am using the built in splash screen, when it executes it doesnt splash it just stays on the screen.....Is there a way where i can set a property for how many seconds it should show How would you do it ...Show All
Visual Studio Express Editions Invalid Column Name
Hello, I am using Visual C# 2005 Express Edition and I am trying to connect to an SQL database. I have created the database with the following columns: id, first, last, phone, date I have created a binding source with a Data Grid View and I am trying to load the data. However, I am getting an "Invalid Column Name" error for NO apparent reason. Here is what my code looks like: SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\dsAllMembers.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); con.Open(); if (con.State == ConnectionState.Open) { System.Console.WriteLine("So far, so good."); SqlCommand command = new SqlCommand("SELECT id, first, last, phone, date FROM tblMemb ...Show All
SQL Server Trigger
hello team: i have two tables order and orderdetial, i want from the orderdetail the sum of the quantity of products for each order and then insert this sum in order table infront of each order this is the first part: declare @s decimal select @s=sum(f.quantity) from orderdetails as f inner join orders as a on a.orders= f.orders group by f.orderdetails any one have advise, thanks lot Re ask : my question is : i have master and detail tables , the pk of the master used many times as fk in the detail table, i want to make for ex a trigger to get the sum for a feild of the fk then insert this sum in the master table in feild total like productid and store ...Show All
Visual C++ Getting bug report support from Microsoft
I have recently reported a private bug to Microsoft, a "C++ CodeDOM parser error: Internal Error", which blocks my efforts to continue component development for one of my components in C++/CLI. The bug was reported a week ago but has evidently not been reviewed by Microsoft. The bug is detailed at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=671820&SiteID=1 on this site. Is there a way to contact Microsoft directly so that I can have this bug looked at and so that I can get a workaround or fix which enables me to successfully complete and market my component Also, does anyone know whether file attachments added to public bug reports are downloadable by all users or only by Microsoft I made my bug report private beca ...Show All
Visual Studio Team System Load test- username and password
Hi there, Do I need to create usernames and passwords for each virtual user to be used for executing Load tests That depends completely on the site you're testing. If you want to stress test something like a new user registration process and your db won't allow duplicates, then yes you would have to create usernames and passwords for each virtual user/test iteration. If you don't want to pregenerate all that data, you could use a WebTestPlugin or coded web test and write some code that would auto generate unique user data. It really depends on whether your site is going to require unique data for every test iteration. Josh ...Show All
SQL Server Change Edition of existing isntance?
I have a named instance of SQL Server 2005 Developer Edition. I want to install VS Team System Foundation Server on the same box, but this needs a default instance of Standard or Enterprise edition. I installed the Standard version alongside the existing Developer instance but now I can't start SSIS and without it VSTS Foundation Server won't install. I have tried to uninstall SSIS and reisntall it from both the Standard Edition and Developer edition media, but it makes no difference, the service still won't start. Could the SSIS failure be due to having different editions on the same box If so, is it possible to change the edition of the Developer instance to Standard (or to change them both to Enterprise edition) without having to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to deploy on the Xbox at many developpers
Hello, I'm a student and I'm developping on XNA with my teamates. We have a Xbox 360 and develop on our personnal laptop. When we have tested our project on the Xbox, we can't deploy from each laptops to the Xbox. Does a solution to deploy from several computer exist Thank you for your help. O.C Sharing the key doesn't actually work, because the Xbox and PC negotiate an internal more secure key the first time they connect to each other. That is stored on the PC that did the negotiation, so other PCs will be unable to connect once this has happened. To share an Xbox between multiple PCs, you will have to re-create a new key each time you want to switch from one PC to another. ...Show All
SQL Server Difficult T-SQL query (for me anyways)
Hi. I am developing for a system that receives an input from an external modem. The Transaction is split into 2 sections, Section 1 = grants the transaction ID, Section 2 = deliver the transaction Data. I have 2 corresponding tables, One called tblremoteunitrequestID (Where the transaction ID is granted) The other called tblremoteunitrequests (Where the transaction is completed, about 1 second later) I am writing a diagnostic report that determines if the first part of the transaction completes but the second part fails. I am having difficulties designing the SQL for this. Here is some sample data for tblremoteunitrequestID : (The first stage of the transaction) RecordDate | Serial 13/11/2006 14:00:36 0 ...Show All
Windows Forms How to make currently selected row invisible ?
This the message I get when I try to make currently Selected Row invisible. "row associated with the currency manager's position cannot be made invisible". I want to make all the rows in the dataviewgrid to be invisible.Any help My Code: if (dataGridMain.SelectedRows.Count > 0) { dataGridMain.Rows[0].Selected = false; } for (int nIndex = 0; nIndex < dataGridMain.SelectedCells.Count; nIndex++) { dataGridMain.SelectedCells[nIndex].Selected = false; } for (int nIndex = 0; nIndex < dataGridMain.RowCount; nIndex++) { dataGridMain.Rows[nIndex].Visible = false; } No this is what I want. I want to make only few visible rows in the grid based on some searching. It ...Show All
Visual Basic Listview Cannot Display other language
I am developing an application using standard components and listview. Why the the components in my application cannot keyin and display other characters like Chinese characters I have set the Regional location and the Input Locales to Chinese. Any solutions Please help! Thanks a lot. I need to display multiple languages in a listview control as well. Has anyone found a solution or can point me in the right direction Many thanks. ...Show All
Visual Studio Error 1603 when attempting to install Visual Studio 2005
Hi, I would appreciate help from anyone who knows the solution to my installation problem. I have been trying to install visual studio for a couple weeks, and it fails every time. I have tried booting the computer with no non-MS services running, with no firewall, installing from a CD, installing from files copied to the HD, etc. The computer is running Win XP home edition SP2, and has 17GB free HD space. Below are the last few lines of the log file. You can see that the MSI reports "Note 1:1708" and then reports a general failure 1603. Property(S): SourcedirProduct = {D407F7C0-579E-4CCB-91FD-855CE5084E86} Property(S): OutOfDiskSpace = 0 Property(S): OutOfNoRbDiskSpace = 0 Property(S): PrimaryVolumeSpaceAvailable = 0 ...Show All
SQL Server Notification services folder in Object explorer
I have created set up in my system succesfully.But there is no Notification services folder in Object folder.Please help me I am new to notification services.I can't able to proceed. What edition of SQL Server did you install SSNS is only available in Standard and Enterprise editions. Did you opt to install SSNS during the install of the instance HTH... Joe ...Show All
SQL Server How do I create a database during installation of my C# desktop applicaton?
Dear all, I have developed a C# desktop application which uses SQL express as its database. It works just fine as I installed the application, used SQL express Server Management Studio CTP to create database with tables , stored procedures etc. Now, I want to create an installer that will not only install my application to other machines but also create the database with all the tables and stored procedures with it. How do I do so I searched the answer in several places but none worked out for me. Can anyone please help me on this For your convenience I'm giving the following informations: Database name: NorthPole SQL sever Name: Ishtiaque\Sqlexpress (used Windows Authentication Mode) I have detached the database from the original mac ...Show All
.NET Development Modem PPP connection to arbitary number
Hi, Is there a way to create a PPP session using a modem to a server without first needing to 'Create a new connection' in Control Panel -> Network Connections. It it possible to establish a PPP connection using RAS API to any arbitary number Perhaps something like Hyperterminal's ability to dial using any modem. Thanks I have not really look deep in to it yet. But yes, it looks good. The comments in the sample code seems to be in Chinese Thanks Rizwan. ...Show All
Windows Forms How to print my DataGridView
Hey all :) How do I print my DataGridView Everything seems acceptable... But i'm not sure on: e->Graphics->DrawImage(bitmap, Rectangle(e->MarginBounds.X, e->MarginBounds.Y, e->MarginBounds.Width, e->MarginBounds.Height), Rectangle(posX, posY, e->MarginBounds.Width, e->MarginBounds.Height), GraphicsUnit::Pixel); Shouldn't that be two times gcnew Rectangle Or is Rectangle some method or macro that i'm unaware of ...Show All
