How many Bitmaps can I create in .NET?
.NET Bitmap class uses GDI+ I want to know how many Bitmaps I can create. Will memory leak when create too many Bitmaps? ...
.NET Bitmap class uses GDI+ I want to know how many Bitmaps I can create. Will memory leak when create too many Bitmaps? ...
I use the split function of in VBScript to split the string. Below is the code am using. Dim inputText DIM resultArray inputText = "abc; def; ""xyz;123""" resultArray = Split(inputText, "; ") For i = 0 To UBound(resultArray) resultArray(i) = Replace(resultArray(i), """", "") resultArray(i) = Replace(resultArray(i), ...
I have a VB application. Clients wanted to convert that to a .net application. I would like to go ahead and convert that to C# windows application. But I am not sure on challenges that I will be facing. One method is to just understand the VB code and rewrite all the modules in C# or VB .net The other way that I am not aware of is the ...
hi,i am having problem on how to implement such a thing , i am currently programming a compact framework vb.net this is what i have done and am stuck,what ive learn is very basic and simple i am using a sqlce query to use it to search for any string matching entries in the database and then it will display it something like google search...
Please share your VB tips and tricks such as Syntax, Optimization or General Development etc. ...
I came across VB.NET and Java Comparison, which is an old article. Both languages have evolved much since then. Please compare and contrast VB.NET and Java. ...
I have been using Visual Basic 5 since it was first released until a couple of years ago. I re-installed it on each new laptop I bought and downloaded the service pack each time. But having not touched it in two years I have now just installed it on a laptop to modify an app. However, it no longer seems that Microsoft offer the servi...
I have 700k-1M rows coming in with a comma delimited field (among others). I need to keep this column intact, but sort the rows so that I can determine duplicates. In this business case, a,3,null,40 is the same as null,40,a,3 and so on. This can be achieved via stored proc, script component, tsql. I found this component which does exa...
I'm have a picture box control and 2 Command Buttons. I have an image displayed inside the picture box. Is it possible to zoom the image when the Zoom-in and Zoom out buttons are clicked? Or I can even put a scroll bar. Is it possible to zoom the image according to the scroll bar movements? I'm using VB 6. ...
Hello everybody. I need some help. I have generated a component in Delphi 2007 Code Gear and I need to migrate it to .NET to be used by VB.NET platform. I generated an ActiveX dll but I have been told that only the declaration of the class is visible in .NET. Actually the component I have generated is inherited by another component o...
Hello I am building a form in access database. I have a combo box which is linked to a query which is looking up a unique reference number from a table called Tbl_Submitted_Requests. What I need the form to do is auto populate the other text boxes when the user selects the unique reference from the combo box. How can I get the text bo...
I created the following batch file using VB: Open sBatchFile For Output As #1 Print #1, "@ECHO OFF" Print #1, "ECHO Converting Excel Files to PDF, Please wait..." Print #1, "batchpdf ""\\Tiltonsrv1\officeplantshared\Schedule_3.xls"" ""\\Tiltonsrv1\officeplantshared\SHIFT_SCHEDULES\"" &fileName& " Close #1 i = Shell(...
I have a mdi and 3 child windows. The program start with an empty mdi. With a menu you can open each child window once. When i open for example 2 windows. And close the one on top. The one left(the window under the one i closed) should get focus. How can i manage this? why i need this? each childwindow has a event gotFocus. Depending ...
I'm new to VBA and want to know if I can convert the following declaration and assignment into one line: Dim clientToTest As String clientToTest = clientsToTest(i) or Dim clientString As Variant clientString = Split(clientToTest) ...
In VB .NET, I know I can get a stack trace by looking at the value of ex.StackTrace when handling an exception. How can I get the functions on the stack when I am not handling an exception? I am looking to implement a logging system of some sort to record the steps the user takes prior to a crash to assist in debugging. ...
I sometimes hack from some code for a friend. He paid for VB Studio pro 2008 but won't upgrade to 2010. He's happy enough for me to use VB Express 2008, but I am wondering what I am missing out on by not using 2010. What are the major differences beteen VB EXpress 2010 and VB Express 2008 and VB EXpress 2010 and VB Studio PRo 20...
Hey guys, I am a new visual basic learner and I already have some difficulties in finding the proper softwares to start my first programs ;) I will have to develop in vb6.0 and 8.0 (.net 2005) and 9.0 (.net 2008), what softwares do i have to use ? From my search, I will have to use Visual Basic 6.0, Enterprise Edition (or another edi...
i have 2 vb projects that run perfectly. but i have this new requirement. I need to open .exe for project 2 from project 1. both the project have sql server database in back. so they have login/password and customer records that show according to customerid's in both. Now when i click "open project2" button in the first project, it shoul...
how to create a find and replace dialog using microsoft visual basic 2008 express edition ...
Hey, I'm trying to write a program that opens a folder from the CD disk when a button is clicked. The program will be run from a CD, and aims to open a certain folder. However, I can't use "shell "explorer...."" because the drive letter will change between different computers. Is there a way to open the folder straight from the CD in VB...