How can I use the Google maps to return the mileage between two points? I am actually going to compare multiple addresses to find the closest address to a point and would like to store this information in a database. This is not a web page, but a windows application. Any help would be greatly...
I am creating a report and need to merge two cells using MS Reporting Services 2005. I am using the Table control and have multiple Header Rows and multiple detail rows (to insert the multiple rows, I just right clicked an Selected Insert Row Below). The cells I need to merge are two different...
Thanks for the reply. I believe that I have opened this port. I went to Windows Firewall and under exceptions selected Remote desktop and under advanced settings, I selected remote desktop. If this isn't how you open a port, how do you open a port?
Like I said, I can connect if I am using...
I am having an issue setting up remote desktop. I am using XP pro on both computers. I thought I had it working because when connected through the same internet connection everything was working. But if I use a different internet connection, it does not work. I am using a Motorola Wireless...
I'm trying to write a program that will calculate the best way to cut a piece of material. I am trying to avoid 3rd party software.
Has anyone done something similar to this? Does anyone know of some good resources that I could go to to find how to cut material with the least amount of waste...
How do you convert between screen sizes and print sizes? I want to display a text box the same size as a label and have the text typed in the text box flow as it would when printed out.
Thanks in advance.
I suppose it might be beneficial for someone else.
You need to get the contextmenu strip from the toolstrip and from the contextmenu strip use the sourcecontrol as noted in the following code.
private void deleteToolStripMenuItem_Click(object sender, EventArgs e)
{
//Make sure the sender is...
Is there a way to determine which control opened the ContextMenuStrip? I have 4 labels that share a ContextMenuStrip and I was determining by the ActiveControl. This doesn't work all the time because if I right click one of the labels, then right click a different label while the...
When I create the sql connection, I need to enter in a datasource (server). For example "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Datasource\QualityControl.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True", will the user who does not have sql server or sql express still be...
If I want to develop an application that uses sql database files (sql 2005), does the end user need to have sql server installed on their computer? Does microsoft include the sql drivers necessary to connect to sql server database files? If this is possible, what would the connection string...
I have a c# application that exports to excel. I have office 2003, but the end user has 2000. Is there a way that I can use the Microsoft.Office.Interop even though we have different versions? Would I need to install the office 2000 on my computer? Is there some way to get the 11.0 Interop...
I have an MSAccess database. It launches a C# application. Is there a way for the C# application to get a reference or somehow access the MSAccess application that launched the C# application. I want the C# application to open up reports and/or other forms within the MSAccess application...
I have a form that uses databinding. On the form, there is a drop down and the user can select a contact, which populates the address of the contact. The user can change the address if they need to send information to a different address. The issue that I am having is determining (in code) if...
I have a process where I have an application on a network drive that everyone shares. I subscribe to the RenamedEventHandler for when the file is renamed. When the file is renamed, the application should restart and use the updated file. When I test it myself, it works fine. When the live...
I have been trying to determine the best way to generate select statements and insert the correct joins based on the tables selected. I have all the joins, but determining which joins to add to the statement has become very lengthy. Has anyone come up with a easy way to add joins to the sql...
Thanks for the response!
I'm referring to schema changes. I add a new field(s) on the development, and I want to update the live server. Or I add/edit new procedures and want to update the live server.
So you keep a list of all the changes that you make? What if you add 5 new procedures, 2...
I have set up a server (my computer) to be a development server. I have copied the databases to the development server and have made changes. How do I get the changes that I have made to the database (edited/deleted/added tables, stored procedures, etc) to the live server without affecting the...
I have set a form to have the shape of an image. When I set the image to be transparent, the black text on my buttons become transparent and the triangle on my dropdown becomes transparent. I have set the image to have a lime surrounding and in my code it sets this as the transparency key...
How can you find out, through code, if a tlb/dll is registered? I have code that will create a tlb from a com dll that I created with .Net and register it. I don't want to register the dll every time the program runs if the dll/tlb is already registered. I previously used LoadLibrary, but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.