Satish Dadhwal's Q&A profile
Visual Basic Catching carrage return
I am trying to catch the carrage return with this code I found on net but doesn't seem to work. Nothing happens. Is there another way to do it If e.KeyChar = Microsoft.VisualBasic.ChrW(13) Then Wayne what calls the protected overrides function i have included a break in this function, but it is never called... ...Show All
Windows Forms Smart Client Installation Problem
XPSP2, C#, .NET 2.0, IE 6.0.2900.2180.xpsp_sp2_gdr.050301-159 I've written a simple Windows Forms application. It publish's without error to my localhost and remote (Internet - possibly not IIS) host. Locally, when I click on the [Install] button, every thing works fine, the app installs, checks for updates, can uninstall from the Control Panel etc etc... no problem. If I click on the [Install] button on my remote (real) web site, it simply displays the accompanying {appname}.application XML file in the Browser and stops. I believe that at one point, it did actually prompt me to Run/Save and on clicking [Run], it still displays th ...Show All
Visual C# Help!How to realize the same as PercentRank function of Excel in C#?
thanks Can you provide a little more detail on exactly what you're doing Is this within a dataset, an array, Excel itself, or some other data structure All excel functions could be duplicated in C#, it's just a matter of writing the algorithm. Josh ...Show All
Visual Studio Tools for Office How to Freeze Worksheet Panes (C#)
Is there anyway to programatically freeze the panes on a worksheet Specifically - I'm looking to freeze the window at E4. Regards BR You can lock a worksheet/workbook to differing levels here is a posting on such an action.... ...Show All
Visual Studio Team System Help cannot connect to http://server:8080 on client
Hello, I installed TF single instance on a VM. I now have an xp pro client trying to connect and get errors. I cannot get to http://server:8080 . If I goto http://servername wss shows up. If I goto http://server/reports RS site comes up. Where can I start to trouble shoot to get a client of TF to connect Thanks in advance. Hi Eddie, From either client or AT, can you browse to http://MyTFSMachine:8080/SCC/application/Repository.asmx in IE as the user It's possible that either IIS or the application pool for Team Foundation isn't running, if not. Hope this helps, Adam ...Show All
.NET Development Wrapper doesn't work
Hi, I have an unmanaged C++ application which calles C# DLL using COM Callerable Wrapper. My problem is that this application works in development machine, but not in distribute machine. I installed .NET Framework 1.1 and I wonder I miss some component to run in distribution machine. Does anyone have an idea about this Thanks, reneesol It works after install service pack 1 for Windows Server 2003 Standard Edition. I don't know what cause this error. Thanks, Reneesol ...Show All
Visual Studio Express Editions Network Files
The documentation for my.computer.filesystem suggests that paths starting with \\ will cause an error. How do I access files on file server within my VB app Thanks Gareth Hi, I just tried this and it works just fine: For Each foundFile As String In My.Computer.FileSystem.GetFiles("\\apps1\LMS\") MsgBox(foundFile) Next cheers, Paul June A. Domag ...Show All
SQL Server Visual Studio 2005 The remote connection to the device has been lost. Please verify the device connection and restart debugging.
Basically I've been using Visual Studio 2005 for a few weeks now moving a Pocket PC project from 2003 to 2005. When I hit the Start Debugging Button every time until today the project would rebuild and deploy to my pocket PC allowing me to debug etc but now I get The remote connection to the device has been lost. Please verify the device conection and restart debugging. I used to get this problem in VS2003 sometimes and just like the numerous posts on different sites that I've looked at the problem eventually goes away and I'm none the wiser. One guy said that he found that if he went to bed the problem was resolved when he came bac ...Show All
Visual Studio Express Editions App_Data fails to open new item
I have installed the August CTP of Visual Web Developer 2005 Express edition, along with SQL Server Express and the MSDN Express edition. SQL Server seems to function properly and I am able to connect to it throught the Database Explorer pane. It is configured through the ASP.NET Website administration tool and a test of the AspNetSqlProvider confirms a connection to the database. When I try to open a data source or create a new item under App_Data in the Solutions Explorer, I get the following error: Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the insta ...Show All
Windows Forms Avoiding the use of a Class
Hello all! I am developing a class in VB to use in my windows application(alsoin VB), but I want to make sure my application is the only one to use it. Anyone knows how can I do this Thanks Frank, but I am using VB.Net. Do you know any way to do it thanks in advance, blackcat ...Show All
Visual C++ type cast problem.
see my code int main() { int i; int * ppp = &i; const int * & p1 =ppp; //error C2440 in Vc8 ,can not convert from int* //to const int*& //but //const int* const& p2 = ppp ; will be ok. return 0; } why cannot convert from int* to const int*&& ...Show All
Windows Forms How-to Start .Net executable with parameters?
I have not been able to find some documentation on how to pass parameters to a .Net windows forms executable. I am not sure what changes I need to make to the application to accept parameters I want to be able to issue something like System.Diagnostics.Process.Start("c:\myfolder\myapp.exe 1 T") where in myapp.exe I am able to read the two parameters on startup and implement some logic accordingly. Thanks in advance. My .Application.CommandLineArgs ...Show All
Visual Studio Tools for Office Outlook MessageBox hidden when using Word email format
Hi. I'm developing a Office Outlook add-in. The problem is that a messagebox in the application's send event is showing up behind the email message. Things to note: * This only occurs if the email format is set to "Use Microsoft Office Word 2003 to edit e-mail messages". (If not using Word the message box displays correctly). * If it's a Yes/No/Cancel messagebox it will only be hidden the first time it is invoked (If you click No or Cancel and cancel the send and then attempt to send the e-mail message again, the messagebox will appear correctly). * I'm usi ...Show All
SQL Server June CTP: Fantastic! Now...
Ok, so I'm downloading the June CTP from Betaplace right now. And of course I'm greedy :) Will this version interop with Vs.net 2005 b2 Is there a new Vs.net 2005 CTP coming Same old request as always :) Please let me know how did you find out the .net framework version for June CTP The actual version of .net framework in June CTP is 2.0.50215.312 and is ofcourse greater than the .44 in April CTP. Thanks, Vineet Rao ...Show All
Visual Studio Express Editions Unknown Error "-1"
I am currently trying to create a new project using visual basic 2005 express edition. Whenever I try to create a new project I get the following error message.. Unknown Error "-1" Has anyone seen this before I have tried to reinstall a couple times but I still get the same error. I am running Win XP Pro. with SP2 and have installed all of the latest updates. Thx sf I believe you need to look at Visual Studio Pro. I don't think VB Express has the ability to do a Window Service with out the use of a lot of hard coding. As a student you should be able to get a good price on a copy of the Pro addition in either versi ...Show All
