edgarJface's Q&A profile
Visual Basic Running external applications using Visual Basic Express
I am new to using VB express and i'm trying to link a button to an application. When attempting this i get an error message saying something about the security settings. Here is the code i'm entering: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim BLTSCredits As String = "R:\\Gbmkn-pss-1\PCAppsDev\Test05NF\LEGTABCO\LT0000.exe" Process.Start(BLTSCredits) End Sub End Class I am a novice to this so i hope you can bare with me. I would suggest its a problems with accessing the file from the directory you are supp ...Show All
Visual C# How to read exact line from text file?
Hello again.I have one question: (example) How I can read the 3rd line from a text file and transform the rezult to string Yes, you can do this by using the StreamReader Object. include the System.IO Namespace then StreamReader sr=new StreamReader("FilePath"); sr.readline(); // reads first line sr.readline(); // reads second line sr.readline(); // reads third line check out for different read options according to your need. ...Show All
Windows Forms Binding on ComboBox.SelectedValue - no Format-Event sent
Hi all, I've got a problem trying to bind on SelectedValue of a ComboBox - if a value of the field in the DataRow is DBNull the ComboBox show empty. But I want it to show a 'no selection'-Item that I added to the DataTable especially for that. I've tried to do it adding ConvertEventHandler on Parse- and Format-Event, but only that one for Parse get called. So I reported it as a bug to MSDN Product Feedback Center. Now I have an answer from them, that this is a bug and it has been fixed in Visual Studio 2005. The problem is - VS2005 is now only Beta2 and I can neither wait till it will be released nor develope co ...Show All
Visual C# socket exception
ok made a very very good class server it can handle to 3879 clients but when it reach 3880 it throwes an exception like that says that it cant perform operation on a system socket because the socket`s quenque is full hi, you can ask this question in .net networking forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=40&SiteID=1 ...Show All
SQL Server Multiple Group/Detail Records are not showing
I have a report with a page header, a report header and footer, and many group headers, one group / detail line, and some group footers. The problem is that only one record per ID is allowed in the one group/detail line. Both records per ID will show in data view but not in the report output. I do not have "allow duplicates" selected anywhere that I am aware of. Where else can I look Thanks, cj I assume you are using table in your report. Is your table detail grouped on ID If so, all rows with the same ID will be grouped into one. Try removing the grouping in Details Grouping and see if yo ...Show All
Visual Studio Express Editions Trouble with C++ Express Install
I have tried multiple times to instll the MSVE C++ package with no success.Everytime I try I get a MS .Net Framework 2.o installation errror, which in turn prevents the rest of the package from installing. I have/had none of the components that were not allowed to be on before I started. I even ran the vs_uninst_betas.exe to make sure I wasn't missing anything. I just do not know what to try next to get around this issue. I am running a Athlon Processor, >1GB RAM, Win 2000 SP4. Is it possible the because I have .Net Framework 1.1 installed, that it is causing a problem I look forward to getting some help. Thanks ...Show All
Visual Studio Express Editions OK I AM Dumb
I must be because what I'm trying to do will not work. I have a table (Fruit) containing an ID (Identity)and a description(Apple, Banana etc..) so 1= Apple 2= Banana etc... I have a table (containing other info plus a column for the fruit ID I have a form with a dropdown to select the fruit to add Now heres where I go stupid... I need the combobox to show the item description from the first table (Apple) but stamp the ID(1) into that column. I have manged to bind the combo to the fruit table but once the selection changes the app locks up and the record isnt saved. I have hunted the help, msdn but this must be some ...Show All
Visual Studio Additional Toolbox Tab
Hello I have got a question concerning the grouping of toolbox items in a dsl debugging instance of Visual Studio. Is it possible to add an additional toolbox tab besides the e.g. "Minimal Language" tab. If yes, how do i tell the items which toolbox tab they belong to. Thanks in advance alexander Hi Alexander, This is not really possible with the currently released CTP, but you will be able to do this in our version 1 release. Thanks, Grayson ...Show All
SQL Server scope parameter
hi, i received this error message: The Value expression for the textbox ‘revenue_1’ has a scope parameter that is not valid for an aggregate function. The scope parameter must be set to a string constant that is equal to either the name of a containing group, the name of a containing data region, or the name of a data set. expression in textbox revenue_1 (placed at table footer) is: =sum(Fields!revenue.Value, "grp_cd" ) i have defined a group call grp_cd. why am i still getting this error thanks! ...Show All
Visual C# Bind with WindowsIdentity
Hi, how can I bind to the ActiveDirectory with WindowsIdentity, without requiring username and password again Thanks. I found and expect to have to use the token.. Do anybody of you unmanaged guys know how to bind to the ActiveDirectory (in fact I need to get the Guid) with the login token Thanks... ...Show All
Visual Studio Express Editions Can not download the C# e-book from benefits portal
I, too, have another kind of a problem. I just recently registered VC#, and I received the email with the Benefits Portal. When I try to download any of the goodies(I am a complete newbie-begginer-so I am very much interested in the e-book .pdf file) I get only a dreamweaver file. Can anyone help me As you have a different problem I split the post so you have a new thread instead. are you trying to download from this page https://connect.microsoft.com/downloads/downloads.aspx SiteID=40 This download https://connect.microsoft.com/Downloads/DownloadDetails.aspx SiteID=40&DownloadID=242 What hap ...Show All
Visual Basic Setup Package Problem
Hi everybody, well I don't realy have a problem with package it self. In the packa is a ActiceX component wich must be registred. Ok thats: regsvr32 path\Name.ocx, but how can I add this to the setuppackage I work with VS2005, and even if i knew the syntax to register, I don't know how to add it to the setupproject. Thanky for any kind of help. Boostrapper, I worked a long night on this, but finally I found what I was looking for. Everthing starts like you discribed it Matt, but it's just easy as long you only need the .Net Framework. But I need 4 other components to be installed and they are not on the ...Show All
Visual C# generics and COM+
Hi. It is possible to pass a generic type through COM+ Suppose that I have a IList<int>. How should I do it When I run regsvcs.exe it prints a warning message saying "Warning: Type library exporter encountered a generic type instance in a signature. Generic code may not be exported to COM." Thanks. Hi. Thanks for your reply. It seems that Webservices have no problem passing generic types. You can pass whatever you want to the webservice and everything works just fine. I'm solving the problem using webservices but if someone knows how to do it with COM+ I'd be very thankful. ...Show All
Visual Studio Express Editions Invalid search path specified in LIB environment variable
i just installed C# express, and wanted to build the browser thing. Warning 1 Invalid search path 'C:\Program\Microsoft Visual Studio\VC98\mfc\lib' specified in 'LIB environment variable' i cant find any lib or include anywhere... on the hard drive :( any one know what im doing wrong thanks Its probably using the LIB environment variable from a previous version of Visual Studio. You are using C# so you do not need the libraries from the MFC as they are only used for C++. ...Show All
SQL Server Keep getting Virtual Memory errors
Hello, I am wondering if there is a way to solve a virtual memory error We randomly get the following error when trying to run sycn over the http websync. Some clients have 512 MB running sql express, others are full instances that have 1.5 GB. The merge process could not allocate memory for an operation; your system may be running low on virtual memory. Restart the Merge Agent. Is this the error thrown by the merge agent At the subscriber Do you suspect a memory leak anywhere ...Show All
