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

Software Development Network >> Visual Basic

Visual Basic

New Question

Stack Overflow
AdminPak and Vista
Registry - REG_SZ
Call Visual Basic DLL from c++
Crystal Report And Similar Tool For Printing Document
Menustrip
crop image & save it to new file, howto?
String Selection
MenuItems - Loading External Items & About Box
My.Settings Error 82 Reference to a non-shared member requires an object reference

Top Answerers

QWERTYtech
georgeskada
Roof Top Pew Wee
RamyaP
yosonu
Vonlar0
Vinod403103
Wicket
Faisalee
Adam Weigert
Clark, James
Only Title

Answer Questions

  • KevinBurton How to display Non-True Type Font (draft 12 cpi) from Crystal Report in VS.NET 2003

    Hi guys! I need your help... I want to use draft font 12 cpi in crystal report and print it to Line printer (Impact printer). I have already changed the font to draft 12 cpi, a non- True Type font, in the report designer but the problem is when I try to use it for printing or when I use the Crystal Report Viewer. The font is reverted to Arial, I think, which is a true type font. My question is how can I use non true type font in Crystal Report and view it to Crystal Report Viewer correctly Do you have any suggestion to fix this problem Thank you It may depends upon the current printer. and the font is not available for the printer. Draft font is available for the printer that I used ...Show All

  • Rick.H Textbox Control Question

    I have a few textboxes and thier size has been set to limit only 4 characters only. How do you move to the next textbox after the user types in 4 characters Davids Learning I believe you can use keyup event, then check for textbox length (4), then you focus your next text box. Thanks spotty, worked like a charm Davids Learning The following should work for you Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress, TextBox2.KeyPress, TextBox3.KeyPress If CType(sender, TextBox).Text.Length >= 4 Then System.Windows.Forms.S ...Show All

  • Cameron D Reading from database

    Hopefully someone can help me with this problem. I am using the below code to read data out from an oracle db and put the data found into a string. For some reason it wont work though. I know the oracle connection works fine as the 'insert' statement which is commented out allows me to write info to db, but some reason reading info is causing me a problem. Any help would be greatly appreciated. Private Function login() As OracleString Dim myConn As New OracleConnection( "Data Source=bnp;Persist Security Info=True;User ID=bnp;Password=bnp" ) Dim query As String = "Select * from USERS_TEST where USERID = 'david' AND PASSWORD='mcgarry'" 'Dim query As String = "insert into users_test (us ...Show All

  • Geosultan dynamic structure?

    I am reworking someone's code similar to the following structure: Private Structure SpeedData Dim JulianDate As Double Dim MinSpeed As Double Dim MaxSpeed As Double Dim AvgSpeed As Double Dim TtlOps As Long End Structure This structure (based on fields in database tables) is used in several functions. The structure worked fine while the client used a rigid datasource. However, they are now reading data from numerous sql server tables many of which have different fields. That is, all have a datetime field (primary key) but the other fields vary from table to table. Is there a way to dynamically create a structure based on the fields contained in the underlying table It would have to be accessible to several different functions ...Show All

  • Rod Mac How can I use bindingnavigator to update my dataset and data table into database

    hi, I am using bindingnavigator to review my datatable in dataset, I use several textbox for my fields, I use oledb class, I can review, but when I modify my value in the fields, I can't commit them into database, anybody knows how to do that Another thing, I know how to do master/detail review in bindingnavigator, if I would like to review from detail, how can I make a relation between my data tables in my dataset by the way, i am using access database. thank you yhong, Please try the following code that can help you to create the primary key and the table relation: 'Set primary key Dim keys() As DataColumn = {dtStudent.Columns( "StudentID" )} dtStudent.PrimaryKey = keys ...Show All

  • wiscon image looping problem

    Hello, I am trying to loop through some images in a folder, have them displayed for a period of time based on the first two numbers of the name (e.g. 10birds.jpeg = 10 seconds for this image). Then when we reach the end of the folder we start again. Sub ShowPics() Dim i Dim strPath As String = Application.StartupPath & "\Images\Pic" Dim oDirInfo As DirectoryInfo = New DirectoryInfo(strPath) 'Sets path to Folder Dim oFiles() As FileInfo = oDirInfo.GetFiles 'Gets File list from Folder Dim oFile As FileInfo 'timer1.Interval = 5000 'not sure how to pass the interval in dim timeToRun For Each oFile In oDirInfo.GetFiles Path = strPath & "\" & ...Show All

  • Aleniko29139 Abstract/Generic Enumerations?

    I am trying to create a base class that contains a property (custom enumeration) that is different depending on the needs of the instantiated class. Is there an easy way to do this that preserves intellisense If this is not possible, is it even possible to have a generic/abstract enumeration dataMonkey, Could you explain in more detail I have never heard of an abstract enumeration. Do you mean Enum or IEnumerable Are you saying you want to have a property that behaves differently depending on how it is subclassed, i.e. a polymorphic property That is definitely possible... But I think your question is going over everyone's head. Thanks Matt Hi MattDe_MS, ...Show All

  • Batikit Save splitterdistance/container/panel info on app shutdown to reload persisted settings/sizes?

    the vb6 application which this vb.net app is replacing stores panel size info,etc in an ini file when a form closes so it can "reload the previous layout" THere are 4 drawing panes which can have different sizings, perhaps one taking up a whole view are, top and bottom...or even all four. Is there a way in vb.net (2005) to capture this info so that it reloads with whatever size/splitterdistance existed on application shutdown Me.SplitContainer1.SplitterDistance = 882 Me.SplitContainerDrawingVertical.Size = New System.Drawing.Size(886, 618) Me.SplitContainerDrawingVertical.SplitterDistance = 295 Me.SplitContainerDrawingLeftHorizontal.Size = New System.Drawing.Size(295, 618) Me.SplitContainerDraw ...Show All

  • dotnetsr Click Event, KeyPress event. Possible?

    Hi I'm working on a mouse recorder. Is there any way to make an event something like hanles system.windows.keypressed or in anyother way record which keys someone presses outside the form. E G someone types google.com into the adress bar. I want to replay that when he clicks go. How do I do that search these forums for Keyboard Hook and mouse Hook....alot of good examples can be found Also up till now I had a timer that when it went of checked to see if the Left button or Right button is pressed but that means if the user holds down the left button for a second or two my program will think the user pressed the left button many times I have figured out how to do the mouse pressing. Now I just need someone ...Show All

  • kawing0510 Front-end Framework

    Hi, I'm looking for a Front-end framework for .NET 2.0. Can you, guys, reccomend me something I want it: - fast - simple to use - good looking - feature-rich - The front-end will be loaded in run-time from some storage (XML file or so). It should work with the database through some kind of DataDictionary. - Also I need some scripting ability (like VB scripts to describe custom codes to update controls) If somebody has something in mind - let me know. And if your asking in this forum. I'd be creating the windows forms applications using Visual Basic.NET and if you want to do it for free - then I'd download a copy of VB Express from the microsoft web site. ...Show All

  • MoPatel .

    . ...Show All

  • KevinGW Multiple Instanced Unmanaged DLLs

    In VB.net unmanaged DLLs are implicitly shared using "declare" and must be explicitly shared using "dllimport". Is it possible to access unmanaged dlls through an instance rather than as shared routines Currently, the API doesn't return anything about the array to VB. The array is completely contained in the DLL. I hadn't thought about returning the array to VB and letting each instance of the VB form have its own array. That would probably work very nicely. I'll try it out. You don't necessarily need to return the whole array to vb, but you should at least return an id or handle that uniquely identifies the data that you will be working with. I ...Show All

  • Prasenna strip leading zeros

    I have a field in my application where the user enters a number. My problem is that sometimes the number may have leading zeros which I would like to omit. For example the number may be 00108883, I would like to automatically strip the number down to 108883. I am searching for this value (108883) in an access database so the leading zeros would stop the value from being found. Is this possible Thanks in advance! Dim aString As String = "00108883".TrimStart("0".ToCharArray) ...Show All

  • Martin00 How to Run a VBScript after Application Setup?

    Hi, I have created a setup file for my application using VS2003, my application requires to run a VBScript files automatically after the setup finishes. How VBScript can be added to my setup program Thanks for the help. No Sven, I am not getting any error, just I get a message saying the installation interupted & will not be completed because there is error in running the script. But when I do run the script saperately it works fine, also when I get the above message & the installation breaks it does not do the uninstall process, so I go to installed folder & I find all the system files still there + the script files, I tried also to run the script from there & it works fine. ...Show All

  • AndrewLuiHK Show a Boolean Field as a Check Box on a Crystal Report

    Hello, Does annyone know how to show a Boolean field on a Crystal Report in a form of a Checkbox Or else, what is the best way to show a boolean field on a Crystal Report Thanks, Joao Pinto http://senhorpires.blogspot.com/ Joao Pinto, According to your question, I suggest you to read the following articles that show two useful examples on your demand: 1. Creating the Report with Parameters http://msdn2.microsoft.com/en-us/library/ms227825(vs.80).aspx 2. Add Professional Quality Reports to Your Application with Visual Studio .NET http://msdn.microsoft.com/msdnmag/issues/02/05/Crystal/ In order to get the satisfied answer, I suggest you to post your question in the Crys ...Show All

818283848586878889909192939495969798

©2008 Software Development Network

powered by phorum