Answer Questions
Archael setting start folder
In VB6 compiled programs you could set the "start in" option in the shortcut. But I VB2005 I can not see how to do this The problem is differnt user's might have differnt folders for there data It maybe in Project Designer Click on "My Project" in Solution Explorer -> Go to "Debug" tab -> Under "Start Options" -> "Working directory" you ...Show All
Alexander Stevenson Two excel files referenced, not using correct one
I have a macro that runs from a command button in an dummy excel file. My sub uses one Excel file to gather data while a function called by my sub uses another Excel file to compare date. I have created the variables separately (and with different names), but when I run the macro, my function doesn't use either of those files. It searches the dummy file. How do I get it to search the 3rd excel file (1=dummy f ...Show All
MrTovson Executing Prolog code from within Visual Basic
Hi People I am quite new to Visual Basic so bear with me... Is there any way of calling a function written in a different programming language (i.e. prolog) and then assigning the resulting boolean value of that code text box on a visual basic form Prince Hi, Prince, So, the answer is “yes,” depending on what you’re trying to do. If the function you’re calling is in a DLL file and is exposed as an extern ...Show All
Philipp Lenz Visual Basic Winsock and MySQL
Hello . . . :D I need some help please . . . I have install and run the MySQL Server true Visual Basic. I have set the server running on the 4405 port. How can i see if realy the server running looking the port true winsock I would use the mysql dotnet connector for connecting to the server. With sql server you can specify a non standard port for the server in the connection string. I believe it is the same with mysql. se ...Show All
MABeatty Tabbed Browsing in VB .Net
Hi, I have a question regarding tabbed browsing. I am writing my own custom web browser in vb .net studio 2005. I can create, dynamically at runtime, additonal tabs on a tab control, which will - in each - have a dedicated webbrowser control. So what will happen is 5 search engines will be searched and the results be placed in seperate webbrowsers under 5 dynamically-created tabs. The user can then tab throw each set of results. The pro ...Show All
DHass Email from vb.net 2005 using SMTP
Hi I am trying to send email from smtp client by using system.net.mail, if i send and receive in my companies smtp server it works properly, however if i send mail to hotmail, rediff, gmail etc (all ids are valid known email id ), it gives error like Mailbox unavailable. The server response was: not local host gmail.com, not a gateway please provide me a solution. thanks Atanu What SMTP server are you us ...Show All
MalamisuraE VisualStudio 2005 BUG
Am developing a forms app using vs2005. All going fine till decided to publish via ClickOnce…. Having published to ClickOnce, now every time I try to debug (F5) the app after doing a code change or opening up the Publishing Project Properties, get “The operation could not be completed. The process cannot access the file because it is being used by another process” Try again – then get “Visual Studio could not copy a support file t ...Show All
mikemike Update SQLdataBase w/ VB 2005 Beta2
When using VB.Net 2003 updating a database is fairly straightforward. You drag the table onto the form, a sqlConnection & sqlDataAdaptor are automatically generated. You then configure these objects and then generate and configure a data set. All that's left is to write the code for the update. In VB 2005 it doesn't like it if you try to drag a table. I have tried using the Add Data Source ,configuring, and coding an update statement. I can ...Show All
sl0140 Call FUntion at code behind from HTML page
May i know how can i call the Public Function Binding() from HTML coding. For example OnPageIndexChanged ="Binding()". or how can i onclick the paging of the DataGrid then call the Binding() function Private Sub MyDG_SelectedIndexChanged (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyDG.SelectedIndexChanged Binding() End Sub ...Show All
Achelon Interesting Calculations
Hello everyone, I have a interesting problem. I'm trying to calculate how many pallets, boxes and units I need out of a ordered number of pieces. Let's clarify this by an example: I need 6852 pieces in total: (I keep this info in a database, so this info is available for use) * 1 pallet = 4000 pieces (20 boxes) * 1 box = 200 pieces * 1 unit = 1 piece The goal is to calculate how many pallets, how many boxes and ...Show All
Nick S. including framework 2.0 in the setup/deployment for .net 2005 app
Is there a bootstrap program we can download somewhere to bring in the framework 2.0 on machines where we are installing a vb.net 2005 app using the setup deployment project as was done with .net 2003 and framework 1.1 I have not been able to find this info. Thanks Suzanne Haig In VS 2005 we added the Generic Bootstrapper. This bootstrapper can install just about anything you have a package for (a se ...Show All
CHR1S VB Selecting the lowest Integer
Hello again! The program is coming along great... I have a situation where I randomly generated 4 integers between 1-50 What I want to do next is have the program select the lowest and highest numbers from the 4 different dim integers. Can anyone out there lead me in the right direction thanks! Your method looks interresting and I really like the rnd number method you used as well... I tried ...Show All
PGTexley How can i pass a variable from a sub to another sub ? thanks.
hello, this is really simple but drives me crazy, i want to retrieve saved value of OldTab in the 2nd sub, however, when doing step by step i can always see the variable resetting to 0 i tried to declare it at module level with Public & Public Shared also tried Static, Shared, Private Sub, Public Sub .............. etc but it doesnt work Public OldTab(0 To 1) As Integer Sub TabList_Deselecting( ByVal sende ...Show All
ChuckB I want ASP.NET 2.0 TreeView Autopostback to False
I want to disable autopostback in TreeView of ASP.Net 2.0 but there is no option. I want to select any node without posting back. ASP.NET questions are off topic here, try www.asp.net . ...Show All
mpdeglau Trouble with IFonts
I'm trying to change the default font that DirectDraw7 sets to my Back Buffer Surface (ddsB) to 18pt Tempus Sans, but the following code produces the error "Object reference not set to an instance of an object.". Can anyone help Dim myFont As IFont myFont.put_Name( "Tempus Sans MS" ) myFont.put_Size(18) ddsB.SetFont(myFont) Thanks for your reply but I have also tried creating the IFont that way ...Show All
