Answer Questions
Kegel How can I print a TIF file programmatically?
I have been banging my head against the wall for over two weeks now trying to find a way to programmatically print TIF files, without the need to for user interaction. The catch to this is that the files are well data logs, which turn out to be very large TIF files that, when printed, will span multiple pages. Right now the company is using a Neuralaser printer in conjunction with a NeuraView application that is able to print the images out acro ...Show All
dann dee RTC Client API
Hi experts, Please help me in following code. i am not able to register my profile in SIP server. ============================ Private g_objRTCClient As RTCClient Private Sub Form_Load() Set g_objRTCClient = New RTCClient Call g_objRTCClient.Initialize ' ' Start the process by getting a profile. ' Dim pProv2 As IRTCClientProvisioning2 ' Receive the provisioning interface from the ' main client object. Set pProv2 = g_objR ...Show All
zrbamax How insure something runs when form is loaded
I had a problem today of not being able to make a certain textbox on a winform receive focus at run time. That is, I had code in the Load event something like "textbox.focus", but when the form was loaded the textbox did not receive focus. I figured the problem out (thanks to this forum) and found two different ways of dealing with it. One was to simply change the code from textbox.focus to textbox.select. Another was to put the ori ...Show All
Jeff Walsh VB vs C#. How capable is VB compared to C#?
I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. ...Show All
Jon Haakon VB2005 and webbrowser control
Hi, I am trying to use the webbrowser control as a list view for viewing files on the disque. My main purpose is to use build-in fonctionnalities like thumnails view withaout having to write code (reinvent the wheel). It works great but I don't know how to programatically control the way the browser display files. I mean, how to control the "view" property (list, details, thumnails, etc) of the web browser. I also would like to remove that menu ...Show All
KenDavis Using a Stored procedure to Update or insert
I am using the TableAdapter to select all the details from a SQL database, but when UPdating or Inserting I need to use a Stored Procedure as there are some changes that have to be made from the data collected on the windows form. Can someone help with this as I am having a problem to find how to call the SP Hi, Haven't tried this but I think its possible: myTableAdapter.InsertCommand.CommandText = "st ...Show All
Morris LN VB 2005 Express: ListBox and System.Data.DataRowView
DataSet: I have a DataSet with two tables: Category and Product. Between the tables a relation one-to-many (one Category has many Products). Db is an Access one. Form: I created a new form adding two ListBox: using Data Bound Items view I refer to the xxBinding Sources. My goal is to have the first ListBox filled with Categories and the second ListBox filled with Products of the selected Category. It works because when I select an item of Categ ...Show All
FredF edit and continue
I can't seem to enable edit and continue in my VB 2005 app. Everyone seems to be pointing to Tools--> Options--> Debugging, but I don't have a debugging menu in my Tools--> Options. Any help would be appreciated. Thanks, Danny Just a regular .vb 2005 file during debug mode. I know that in my C# project it works fine. The execution is definitely paused and it ...Show All
d3v Reading characters from a line
I was wondering (DESPERATELY) how to read only certain characters from a line of text and how to define where the code will start reading and how far into the line the code will read. and lastly - is it possible to store these specified characters in a variable I've been messing around with "Mid()" but its not doing exactly what I need it to. THANX You'll see where I used both in tha ...Show All
David Wong Chien Shiung outsite files
Lets say have it to where when the program runs it searches in a directory for a folder, inside there searches for a .txt file and if its there it looks for a line a text inside it. What is the code for searching for the text in the document Heres some code which should give you what you want. Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox(Se ...Show All
Michael Baxter Converting String to double?
OK i have a plain text file in a rich text box. This plain text file contains for the most part just text, but it has several chunks of data which are apparently stored as doubles For Example this string here: 33333oH@33333oH@26/01/06 I happen to know that the date field is a date of payment, and apparently, the data before this is the amount paid. The original program i am trying to read was written in quickbasic 7. I don't k ...Show All
digidigi77 path does not exist or is not a directory
I am calling shell when i click on a label and opening an explorer on clicking.Its working fine at my end at Windows XP but displaying error at client side with a popup window with this text "The path 'c:\....' does not exist or is not a directory" on clicking the label. I tried this application at many systems and working fine at all. I also tried on Windows 98 and Windows 2000. Can i get the solution for this The code on clickin ...Show All
CheeseBob Cannot find KeycodeV2.dll, or invalid keycode
Hi, I made a VB.NET application using Visual Studio .NET 2003 Pro that connects to an Access Database on a main server. The development machine operates on Windows XP Pro. The client machine is Windows 2000. I've been to many sites regarding this. So, I've already added the 6 merge modules (including Crystal_regwiz2003.msm and I have the correct Key Code obtained from having registered Crystal Reports and have tried the Key Code f ...Show All
Marco M MDI problem
Hey NG I have an MDI-Application. - For easy entering in to the forms I have created a "Start Form" - In this Startform(mdi-Child) I have some Buttons which I use to open some different MDI-Childs. - The Startform is opening during starting the project. It works fine! - But only on my screen. - when I have an ohter screen, the Startform will be displayed to little. Startform has to have: No BorderStyle! - When I set the WindowState to maximized ...Show All
opherrichards Othello(Reversi)
I was wondering how to create an othello(Just like reversi)game in visual basic. Is there a better way than using a bunch of strings as the game engine, like a saw in a tic-tac-toe game, or is there a better way, seeing that the board is like 10x10.... Any insight Thanks... You would use Dim MyMatrix as Integer(,) Dustin. I was wondering more about the game engine, and I have decided ...Show All
