Software Development Network Logo
  • SQL Server
  • .NET Development
  • Visual Basic
  • Smart Devicet
  • Windows Forms
  • Visual C#
  • Visual FoxPro
  • SharePoint Products
  • Visual Studio
  • Visual C++
  • IE Development
  • VS Team System
  • Microsoft ISV
  • Windows Vista
  • Game Technologies

Software Development Network >> Visual Basic

Visual Basic

New Question

Limits on Memory Use?
Fill Table Adapter
Wait a moment!
Multiple Line Msgbox
For varying hardware, what is the best way to create and implement a common interface.
VB.NET and Design Patterns
Letters To Words Component
One Report with 2 DataSources - is it possible?
saving file to sql server.
Windows Service not registered in the registry

Top Answerers

Sripall
enric vives
sangeetha shanmugam
PeterVrenken
AlbertG
Tim Cools
EtherealSky
73304218
PSDCHD
JorgeFC
OMF - Weather Observation Definition Format
Only Title

Answer Questions

  • Dan Rooney filling a bitvector32 in a loop

    Dear all, I can fill a bitvector32 like this: Dim InBytes As Int32 dim i for i = 1 to 1000000 InBytes = i 'for example Dim InBitVector As New System.Collections.Specialized.BitVector32(InBytes) next i and then I can read out the individual bits (need this for a graphics conversion). Problem: this gets VERY slow, and I trailed that to the Dim InBitVector statement. Is there ANY way to assign an Int32 number to the InBitVector WITHOUT using the dim statement Thanks, Kees Hmm, odd. It shouldn't make any difference and it didn't when I tried it. There is however a huge difference between running the release mode or debugging with the IDE, ...Show All

  • Rush hour Explorer's Send To

    Hi everyone, I'm currently working on a very importent project, and I have a problem. On the explorer, when you right click a file, on the context menu, you can choose the "Send To" submenu, and there there are options. What I want to do, is to use that option, and to "Send" a specific file to there. It's not always a folder to send to it, it's sometimes a printer driver. How can I do it Ofir. I want to print the rtf files (could be hundreds of them) quickly to a specific printer... Word is doing it very very slow.. Do you know how can I do it Ofir. ofireps wrote: 1) You can't print from a RichTextBox ...Show All

  • Kathirvel Lines in the body of an email

    I am trying to do what I thought would be simple (especialloy since it worked like a charm in VB 6 with the mapi control: The program populates a multi-line text box with information based on user selections The user hits a button and it pulls up his email client with the subject and body filled in so that he can select a recepient and send off the information. The problem. The text always comes out as a single line run together How can I get line breaks back into the body The code that doesn't work is: Dim sendthis As String = "" sendthis = sendthis & "mailto:" sendthis = sendthis & "&subject=New Loss for client " & frmMain.Clt & " Number: " & ...Show All

  • lidiya How do I attach an event handler ?

    Hi, I'd like to know how to attach an event handler in VB, There is a C# sample code in this URL that I want to convert to VB (Figure 8) http://msdn.microsoft.com/msdnmag/issues/06/01/speechinWindowsVista/default.aspx loc=&fig=true#fig8 I have succesfully converted every lines to VB except those : //Attach an event handler pizzaGrammar.SpeechRecognized += new EventHandler<RecognitionEventArgs>( PizzaGrammar_SpeechRecognized); Every attempt I try to fix it, I'm told that I need to use AddressOf, but when I use it, It must have two arguments, and I'm unable to set the last. pizzaGrammar.SpeechRecognized = New EventHandler( AddressOf RecognitionEventArgs , pizzaGrammar_SpeechRecognized) ...Show All

  • Michael Dawson How Do I implement an effective search method?

    Hi, I am trying to create a search method where i can enter search text for a number of fields, indluding wildcard characters, and then click a button. a subform shound then show all of the record that match the text entered. my current code is shown below. i am using microsoft access Dim thisDB As Database rst As Recordset Private Sub Command2_Click() Dim strsql As String Set thisDB = CurrentDb thisDB.Execute ("DELETE * FROM TempTable") strsql = "INSERT INTO TempTable SELECT * FROM Table0 WHERE CODE LIKE '" & codeEnterBox.Value & _ "' And DESCRIPTION LIKE '" & descriptionBox.Value & "'" thisDB.Execute (strsql) 'this is just a label that prov ...Show All

  • Mazzie datetimepicker control

    Here is my dillema, I am trying to create a function with a button to open a hidden datetimepicker, once the date has been selected then hide it again. I have no problem opening the picker from the button, but once date has been selected the textbox still appears. I have tried numerous ideas and think it is time to ask the panel to see if anyone has tried to do this before or knows the commands to do this. Thanks for your time Greg Richard, Thank you for your help. Your suggestion worked perfectly. I guess I couldn't see the forest despite the trees. Greg Shows us the code you have so far. Richard, What I am trying to do is click ...Show All

  • siyou Help with Oracle data access

    Hello, i am totally new to VB development, and have been stuck for a few days with a particular problem. As you will see from my code (which is very basic), I am trying to read data out of an oracle DB and trying to display it on screen. I thought maybe my problem was with my oracle connection but I now know this works fine as the insert statement (its now commented out) seen in the code does indeed insert to the db as it should. I really hope someone can help with this. im guessing its probably something fairly amateur I am doing wrong. Here is my code: Partial Class logOn Inherits System.Web.UI.Page Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load End ...Show All

  • Philip Wagenaar - Nashuatec System.Drawing and Scaling.

    I've been experimenting with graphics and I want to scale image up and down. I've done this with graphics and scaling transforms and I have a problems. The resuls are beautiful interpolations but that not what I am looking for. In its displays, Photoshop displays pixels, not magnified interpolated contents. As best I can see and guess, in Photoshop when you are looking at an image displayed as 200 percent of its original size, it's look to me as if one pixel is replaced by four identical pixels (two on a side). Is there a way to do scaling in this manner instead of all the interpolation Andreas Johansson wrote: Spidermans_DarkSide, you are always free to reply to any question you want. If the original poster ...Show All

  • lamont_23 Current Line Colored by IDE (VB.NET)?

    I was wondering if anyone knew a way to make it so that the line the cursor is currently on could have a different background color from all the other text. It greatly increases visibility and ease of use (anyone who has used a text editor like TextPad can attest to this being quite useful when you have huge nests and you want to, for instance, paste right at the line the cursor is on). I don't see any options in the IDE, but maybe someone has made a plug-in Thanks. Oh, I should note that I'm using VB.NET and VS 2005. Currently there's no way to do this in the IDE. I'll pass your suggestion on to the team that handles the VS Editor. Best Regards, ...Show All

  • Bruce Bukovics Open file

    Hiiiii, How i can open file (word,excel etc) using vb.net (web base).. But not using response.redirect(namefile)... Please help me.. Thanks Jebat Yes I know...but i already send my question to www.asp.net forum... i not yet got solution for my problem.... i think in this forum i can get solution for my problem... thanks... I think you need to restate your problem. Are you trying to open an excel file that is located on a web page using a winforms application (VB) Are you trying to open an excel file on a file share using a web application (ASP) The answer to those questions determine which forum you want to use. If your asking ...Show All

  • Obrzut Need Help Simplifying

    I want to port a VB6 app to VB2005 while simplifying as much as possible. The current program uses multiple random access files to store data, both for user options and individual companies that are independent projects. My question is about converting multiple complex user-defined types into structures and then saving them in two files-- user options and company-specific. This is what I intend doing but would appreciate suggestions on a better way. 1. Create structures for the types, combining as many as make sense into single structures. The user options will be one structure. These structures must be available throughout the entire application. 2. Create a collection of company-specific structures. There is one collection for each ...Show All

  • LungBeat Shrinking a file

    Hi, I have a long file, and I want to make it smaller. How can I do it zip it http://www.winzip.com/ if you mean in code with API, then http://www.sharpziplib.com/ else shell to a command line or http://www.7-zip.org/ endif .net 2.0 has ZIP libraries built in... 2mb That's nothing. I guess it depends on the target computers, but most modern computers have hard drives of 40gb or more. Ultimately you will need to rely on users deleting what they don't want to keep. Alternatively offer an "archive" function like Outlook does, and soon as they use that option it ZIPs up all the files. If you want to create your own compression algorithm ...Show All

  • Moustafa Arafa Converting PDF to Tif format in Code

    Does anyone know a straight forward way to do this without third party components I have been trying to do it using a reference to Acrobat, but I I cant make it work... Specifically I would like to pass the Save As dialogue a filename and extension.... here is the code I am working with: AcroXApp = CType (CreateObject("AcroExch.App"), Acrobat.CAcroApp) 'Removing toolbar buttons from the user interface With AcroXApp .ToolButtonIsEnabled("SaveAS") .ToolButtonRemove("Save") .ToolButtonRemove("Open") .ToolButtonRemove("AcroForm:WidgetTool") End With AcroXAVDoc = CType (CreateObject("AcroExch.AVDoc"), Acrobat.CAcroAVDoc) FileName = " ...Show All

  • J4m3sB What is the best way to reversed deploy through ClickOnce

    Hello, What is the best way to reversed deploy windows application on the client/server environment through ClickOnce Let say I have myApp 1.0.0.5 deployed successfully through ClickOnce. However, something went wrong, and I need to make myApp 1.0.0.4 the current one. I have all these myApp_1_0_0_0, myApp_1_0_0_1.. folders and myApp_1_0_0_0.Application, myApp_1_0_0_1.Application... files on my network location. How do I make my publish.htm point to an older one I hope I can avoid of going back to my code and undo the new added lines, then build/publish a newer version. Can I rename .4 to .6 then it will reversed deploy I am sure the question sounds dumb, but in reality, the need is there. Thanks! ...Show All

  • James. L. User Login Password Encryption In Database

    How to do encryption for user login  I need to encrypt it in database and after the user key in password, i need to do checking based on the encrypted password in database. Do we need decryption for this  Thank you. I used the following for encryption and decryption but after i stored the encrypted string into the database and decrypt it again for checking if user inputted password is same as the decrypted password, an error occurred when the pointer hit decStream.FlushFinalBlock(). I think this has something to do with the random generate key. May i know how to solve this Thank you. Private TripleDes As New TripleDESCryptoServiceProvider Public Function EncryptDa ...Show All

414243444546474849505152535455565758

©2008 Software Development Network

powered by phorum