Answer Questions
wolf777 Vb6 to .NET - Are we using the correct approach?
Hi all, I recently started dealing with VS .NET, and so far everything is going good. but a friend of mine approached me with a problem I still can't find an answer. He has a Vb6 Graph app plotting a chart that uses some DLL files for "lines". Anytime he needs a new type of "line", he compiled a new DLL, register it using Regsvr32, and that's all. He thought of upgrading it to .NET 2003 (or even 2005 if possible). Hi ...Show All
Raj Parmar Windows Media Player Control not working as it did with VB .NET Express
I just learned how to use the Windows Media Player control and I had a Windows form working that would connect to a URL and play the video. When I tried to add the control to an ASP .NET website, there were two options for WMP...a dll file and an ocx file. I added the dll file to my toolbox items, but it doesn't show up in the toolbox like it did in VB. I managed to write code without errors that is supposed to do the same thing as my Windows fo ...Show All
dntchaseme SQL does not allow remote connections-Error 40 Problem
Hello, In the MSDN site ( http://msdn2.microsoft.com/en-us/library/2f8abfew(VS.80).aspx ) there is a sample code to teach Stored Procedures in SQL Server. But it doesn't run. When one clicks on the Create Sprocs button one gets the following error message: "An error occured while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL does ...Show All
Saileyee Thakur Dynamically populating a combo box .?
I am trying to populate a combo box on a form based on the contents of a field within SQL. i.e. I read the data from the SQL field. In this case I return the string "Select * From Transactions" I populate my dataset and set the dataset as the datasource of my combo box. This works fine. However what I want to do is to use a where clause in my select statement such as "Select * From Transactions Where AccNo = '" & strAccNo & " ...Show All
Suresh Beniwal Build Web page from build menu
I have Visual Webdeveloper 2005 Express edition and I want my codes behind to be compiled and stored in a bin directory of my application. In an companing book which I have from Microsoft it says that I have to go to the tool bar, select "Build" and then select "Build website from Build menu". The problem is that I cannot find such a facility anywhere. I was trying to see if the Express version which I have can be configur ...Show All
Sydelis VB .NET & non SQL Server / Access data source problems
Hello, I am using VB .NET Standard 2003. On my first attempt to add a data connection to a Pervasive data source (with either their OLE DB provider or as ODBC), I receive the following message : "..only possible to connect to SQL Server Desktop Engine and Microsoft Access databases with this version of Visual Studio" This is a first for me, so is this message valid, or could there possibly be something wrong in the wa ...Show All
capere Create Date 30 days ago
Using DateTimePicker, how do I set the minDate to 30 days ago If using PHP, I can do something like (now - 30), how to do that in VB 2005 Hi You can use the AddDays method of the Date object: DateTimePicker1.MinDate = Date.Now.AddDays(-30) HTH ...Show All
DimD ping exception problem
I am executing the code below to help me weed out pc's on my network that are connected. First I query active directory and place the results of all the pc's in an array - then I run a loop and place each pc name in my pinger.send object to get a reply - if the reply.status.tostring = "Success" I fill another array and if doesn't return "Success" I move on to the next name in the array - It works great when the status is S ...Show All
CodeMeister reporting one record with Data Report
I have a problem with reporting one Record with data report using visual basic as interface and sql server as DBMS how could i report that Hi, Sorry to say that this forum only handles .Net related questions. Just look at the Microsoft Newsgroups for forums addressing VB6 questions... cheers, Paul June A. Domag Paul Domag wrote: Hi, Could you please provide more details So that p ...Show All
RubensGAraujo Polymorphism, Generics??
I would like to be able to pass a string into a method and have that method decide which kind of object to return. For example, I would like to pass the "woof" string into a method like the one illustrated below and have it return a "dog" object. Is such a thing possible I know that I can set the function return type to "Animal" since all three objects are derived from animal, but if I do that I will lose functionality in th ...Show All
C Martin Not sure how to make it work
I'm creating a game and I want to have a main menu that allows a player to chose a mode (like a 1 or 2 player game) I think I have the right code. Here is the code I have so far: For the main menu: Public NotInheritable Class MainMenu 'TODO: This form can easily be set as the splash screen for the application by going to the "Application" tab ' of the Project Designer ("Properties" under the "Project ...Show All
jfranks PropertyGrid problems
Hi, I am currently using the propertygrid control to browse an object containing many properties of different types, some being structures which contain properties of their own. The first problem is that when I create a class inheriting from ExpandableTypeConverter, and use this class as the type converter for a property in my base class, I cannot find a way to unbold the display text using the DefaultValue attribute... The second (mor ...Show All
Friedel convert VBA to VB
hi, I am using VBA to use Microsoft Word functions of open/save file. My code works perfectly. But I found I have to open Microsoft Word in backend in order to run my code successfully. I wonder if it is possible that I could translate this piece of VBA code to a standalone VB program so that I can run it without Microsoft Word thanks, Michael Ji you basically need to create an object refe ...Show All
derekslager how to update rows in an mdb data source??
hi everybody , I'm a beginner student in vb.net,and I'm working on a very small project as a homework,and I've some questions which I ought to search for their solutions via any source . I need to make an (Update )button in most of my VB forms,which enable me to update any row elements in the datasource in Access through each form , for example: I've a form about CustomersData as (Cust_No,Cust_Name,Cust_Address,Cust_Phone...etc) ...Show All
SimonTemplar .KB1 extensions
I have been given the task to convert some .KB1 extension files to ASCII files. I am not even sure what the extension is and the previous coder is unavailable. Can anyone tell me how to convert them Thanks in advance! tp KB1 does not appear to be a standard file extension. Can you provide any other information by opening and seeing the file Try opening the file in a TextEditor such as UltraEdit/TextPad and use the Convert to ASCII option ...Show All
