Dawe's Q&A profile
Windows Forms Using the clickonce 'datadirectory' when running in debug mode.
Hi, I have xml datafiles associated with a forms app I'd like to deploy in the clickonce 'daat' directory (which is the default behaviour for this type of files anyway). I found on this forums explanations on how to do so, namely by getting the directory from System.Deployment.Application.ApplicationDeployment.CurrentDeployment.DataDirectory Although this builds allright, when I try to run in debug mode I get an InvalidDeploymentExcepti ...Show All
Visual Basic Help with loading settings in GUI
Hi all i am hoping someone can put point me in the right place ,so here goes , I am making a GUI fo a friend and ive hit a prob i am saving checkboxes into a Settings.tbl file (which works fine) but when i try to load them into the GUI it doesnt work.Here is how i got it at the mo, Private Sub savebutton2_Click() Open App.Path + "\Tables\scriptlevel.tbl" For Output As #1 Print #1, " [RePass] = {" Print #1, " ...Show All
Visual C# Trouble understanding threading
I've got an application written in C# 2.0, and am trying to speed up my reporting a bit. On the main form, I have a button that will create a report that can take quite some time. While this report is being created, my main form goes unresponsive. The button doesn't even pop back up while I'm waiting on it. I figured I'd spin off a thread and have it create the report. It worked, but the second the form is loaded, it goes away. How can I get thi ...Show All
Visual Basic Outlook - New Navigation Pane Button
I need help creating a button in the navigation pane of outlook, preferably an Add-in. I want to be able to click the button and open Outlooks version of Internet explorer. Here is a picture of what I am talking about. ...Show All
.NET Development Column Expression
I have database with two tables what i would like to do is in the sales table when i put data in the datagrid is to have a column expression that calculates the quantity * price that gives the total.I am using C# express edition2005 and SQL server express edition 2005 hope someone can help with code and where to place it. Thankyou Thankyou for your quick reply I made the quantity and price columns in my sal ...Show All
Windows Forms MDI + external exe
Hi can anybody give me the code so that i can load external exe's as MDI childs into my application. Also cn anybody give me code so that i can load exe's from .dlls as MDI childs into my application Thx Assuming your exe or dll is .NET.... ' MyAssembly exe or dll contains the form to be instantiated System.Reflection.Assembly asm = System.Reflection.Assembly.LoadFrom( "MyAssembly.exe" ) ' This create an instance o ...Show All
Windows Forms Problems in Updating database using data bindings
Hello I am trying to update an access database with the databindings using the this code oleDaCampervan.Update(dsCampervan) But it does not update in my database unless I assign the position by itself like that Me.BindingContext(dsCampervan, "secondhandsales").Position = BindingContext(dsCampervan, "secondhandsales").Position oleDaCampervan.Update(dsCampervan) Then it updates in the table noemaly by this way I am wo ...Show All
Visual Studio Unspecified error when doing Get Latest Version
When I do Get Latest Version from within Visual Studio on a complete solution or project I get the following error: Unexpected error encountered. Error: Unspecified error. File: vsee\lib\path\cvapipath.cpp Line number: 2459 When I do Get Latest Version on an individual source file, it works correctly. When I do Get Latest Version on a project from within the VSS client, it also works correctly. I got the following setup: Visual Studio ...Show All
Visual Studio Express Editions Hi I need a math expert
Hi i need some help building an advanced calculator using vb .net 1st i want to calculate the logarithm and the ln; i used math.log(x) but it returned a number different than the one i get using the windows calculator. Also i need to calculate sin^-1(x) but i cannotmake it 2nd i need a help with keypresses. i made my codes in the form_keypress but when i click on any button it focuses and then the keypress doesn't work and when i press enter th ...Show All
Visual Studio Express Editions Richtextbox control question
What is the best way to control formatting of programmatically added text inside a richtextbox control Take a look at the properties of the RTB that start with 'Selection' and 'Selected'. They are the ones you need to select specific text and manipulate it. ...Show All
SQL Server Running a SSIS package remotely on the SQL Server
We have a package (which uses SQL Server Destination Task) imported in the SQL Server. Is it possible to invoke this SSIS package from a remote App Server through C# .NET. We would like to execute the SSIS package in the SQL Server itself and pass on the results of execution to the calling C#.NET application via the output variables declared in the SSIS package. Thanks, Loonysan You can do this with relat ...Show All
Visual C# Can anyone solved this problem with Shockwave Player?
Hi..alll. please see this problem on Visual Studio.net 2005 does anyone know the solutions..: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=94b4aaf8-95de-4d45-9f37-58099fbffabf Best Regards.. sorry i didnt understand the users fix. .Can you tell me how i can solve the problem..or tell me if you have solutoins of you own.. thanks.. ...Show All
.NET Development Variables in a sql command
Hi, I am connecting to a database using the wizrds on visual studio.net(is that ADO ) but the problem I am having is a fairly easy one I think. I want to use a variable as my WHERE command in my sql statment. for example int Number1 = 1; SqlDataSource1.SelectCommand = "SELECT UserID FROM Users WHERE UserID = 'Number1'; I am postive that the UserID is an int value. The program compiles correctly but when I run the&nb ...Show All
Visual Studio crystal reports in c# / disable parameter prompt
Hi everyone, is there a way to disable the parameter prompt of the crystal report viewer in c# (2005 beta2) I've got a simple report viewer, which doesn't have the smart tag to disable the parameter prompt as apparently the viewer for asp.net does, I'm loading a simple report with a parameter at runtime where I also set the parameter in the code, but still it'll prompt me for that anoying parameter and use the one from the prompt!! I didn' ...Show All
Windows Forms Managing Chart's Labels & Legend in Cristal Reports
Hi everyone, I am programming in vbnet and Cr and I need some Chart in my application but when I put the legend in the Chart the name of these cannot be modified, the labels like this: Sum of total prices And the Chart's labels also c ...Show All
