Ben Walling's Q&A profile
Visual Studio Express Editions deployment error
I have created a wonderful windows application with visual C# express, this is quite a feat since I new nothing of programming before I started. Thanks to lots of help from articles and forum entries. Thank you. My issue is I can "click once publish" and install on my production machince xppro and when I try to install on another machine xphome, I simply get the application has encountered a problem and wants to send an error report to microsoft. Any thoughts on how to get more information I am using MSAccess database, directx and interlop to word all installed on the other machine also. hmmmm. help ...Show All
Windows Forms Arraylist
Hello, Everybody! I have mulitiselect Listbox, and I loop through the selected item like this: Then I created ArrayList Message1 to store the selected items. Then I call a function that require only one selected item. MY QUESTION IS HOW DO GET ONE VALUE AT A TIME IN A ARRAYLIST THEN COMEBACK AND GET THE OTHER VALUES.MY FUNCTION REQUIRES ONLY ONE SELECTED ITEM AT TIME foreach ( string lsStr in listBox1.SelectedItems) { ArrayList message1 = new ArrayList (); message1.Add(lsStr.ToString()); GetXMLCMD(message1, "appInstallCmd" , "appInstallParams" ); } ...Show All
Visual Studio Multiple DSL's using the same file extension
Hi all, I have a general question about the use of file extensions in DSL's. If I have two DSL using the same file extension and VisualStudio is confusing them. I see two possible solutions, but cannot find whether they are possible. Is it possible to change the extension used for a DSL model file You can give an extension when creating a new DSL project, but I already have two existing DSL projectsd with the same extension. Is it possble to "deregister" an extension and open it up for use with another DSL The exact situation that I have is described below: For the first DSL that I created I used the .uip file ex ...Show All
.NET Development Remote Connect to MS Access DB using a static IP
I am working on a project in VB.net where I have to connect to an MS Access database that is located on a remote computer and I have to connect to it over Internet using that computer's IP Address. Any ideas how the connection string should look like I tried to connect to the computer by going to Start >> Run and then ran the command \\xxx.xxx.xx.xxx but it says the computer cannot be found. Is this because I'm not on the same network as that computer How will I be able to achieve the connection and be able to access the database All Dot net gurus, I will appreciate your replies. Thanks Krish. First thing Are yo ...Show All
Visual Studio Express Editions sql express hosting
Can anyone recommend a hosting provider who can offer sql express db Everyone I find is sql2000 or access. thanks hi, i guess in registeration benefits there are a hosting offer about 30 or 90 days i don't remember i guess this will help you to test, but for sure its not express edition at least its SQLServer 2005 but it will run your database that you creat by express edition, also i think the asp.net forum would have more information about that hope this helps ...Show All
SQL Server Using sorting or order by in cubes
Hi, I need to provide sorting for dimensions in my cube. I am having three columns in my dimension table StrID Strname StrOrder In cube i need to use Strid for all aggregations and all, strname to be displayed to user and Strorder for ordering the dimensions. I have such corresponding order fields for all the dimensions in the cube. Please let me know if there is any way to acheive this Thanks, SP Assuming AS 2005, StrID can be the dimension key, Strname its name, and StrOrder a regular attribute. Then the StrID attribute can be ordered by the (relat ...Show All
Visual Basic help me about data Grid
hi. I need help to chenge the datagrid data. I want when my user select XXX from combo box one of Column in data grid seted as XXX. as hapend when Data have reletionship. I cant make reletion becuse it hapens in just one form . not in all data base. if not . my user have to select that code in every row of data grid. and my have mistake. thanks for your help Tanks That is what I want . Tanks very much ...Show All
.NET Development How To ASk Questions In ASP.NEt Forum
How To ASk Questions In ASP.NEt Forum their is no option for new Thread Hi, You must log-in first or register before you can post. You can Register Here . cheers, Paul June A. Domag ...Show All
Visual Basic Migrating usage of VB6 control arrays to 2005. How do I do this?
Hi again. Need some advice and I'm new to VB2005. In VB6 I used control arrays a lot, and there are no control arrays in 2005. I found out how I can do the same thing by referencing the handles in a sub, but I have another scenario not covered in MS's migration page. To make it simple, let's say I have 10 labels and I want to pick one randomly and display text in it. In VB6 I could have all these labels in an array and do this (quazi code) I = (random number generated between 1 and 10) Labels(I).text = "i was randomly picked!" I need to do the same thing in VB2005, but don't know how because each control has to have a different name, I don't ...Show All
Windows Live Developer Forums API Questions
I've run into a couple of issues in my development. Both are easy enough to work around but I'd prefer clarification if possible. The first issue is with the response. I seem to be getting a garbage character at the beginning of my response stream. This is preventing me from duming the response directly into the XmlDocument.Load() method. To verify I wrote a console stub and dumped the stream to the screen and it shows as a " " there. I've worked around this by writing the stream to a string then checking for the first occurance of the "<" and passing the substring from there into the .LoadXml() method instead but it feels very hackish ...Show All
Visual C# Debug Output in Visual C# Express (Beta 2)
Hi! Does any of you here know why I'm not getting my output from Debug.WriteLine (and the likes) in VC# Express I tried to turn on any setting I could find that mentioned something about debugging, but when I do a simple Debug.WriteLine("Hello World"); I cannot see the output in the Debug Output window. Any clues Thanks in advance, Patrick I found it mentioned at the MSDN Feedback center. Should've looked there before posting here. Sorry. http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=8a037c6a-e5a5-4d13-9661-806cd8d2cea2 Regards, Patrick ...Show All
Windows Forms What is "Out of Memory" when I have lots?
VS.NET 2003 I have a OwnerDrawFixed ComboBox. Sometimes, only sometimes but too frequently, when I click or is scrolling through the list (5 items) I get an Out of Memory exception in the DrawItem event handler at the point where I was drawing a dashed line (my drop down list is a list of dash styles). The exact error is "'System.OutOfMemoryException' occurred in system.drawing.dll" I have plenty of memory. A cursory check with Task Manager shows that it is using only low tens of MB. I put a Debug.WriteLine statement in the event handler, and the handler is called only a few times before it crashes. What i ...Show All
Visual C# read INI file from c#
Hi Any one know if there a way to read INI format from C# thanks Avi. Avi, You'd have to import GetPrivateProfile* Win32 APIs. But, if possible try to move away from INI files - they're deprecated. HTH ...Show All
Visual Basic Which Control did I RightClick on?
hi all... Is it possible to find out which control a user rightclicked on and show the name of the control in a messagebox For example I have three buttons on a form and a contextmenu that is used in common with all the buttons. When a user rightclicks on a button the context menu is shown. Kind of like the "Whats This" menu in MS Apps. So instead of writing a rightclick event for all of the controls on the form, I thought that if I could find the name of the control that the user rightclicked on to open to context menu, I could show the appropriate response. Is there a way to find if a coordinate of the mouse click falls ...Show All
Visual Studio Team System VSEnterpriseHelper.axd timed out
Any way of extending the startup time out for starting unit testing app_code. I'm working on a site that has a longer startup time and the unit test keep failing with: The web site could not be configured correctly; getting ASP.NET process information failed. Requesting 'http://localhost/site/VSEnterpriseHelper.axd' returned an error: The operation has timed out and the setting in localtestrun.testrunconfig for timeout seem to be only within a test not at startup. Hello Joel, Unfortunately, this setting is not configurable, as we use the default HTTP response timeout (100 seconds). However, if ...Show All
