DB/Reporting :: How To Proceed With Converting The Following Module To .net Equivalence
Dec 1, 2010
I am new to vb .net and I have been writing simple programs in VB4(16 bit) and now I have to convert a particular program to VB .Net. I have never really used the Crystal report in vb to write my reports and I am really lost as to how to proceed with converting the following module to .net equivalence.
[Code]...
View 1 Replies
ADVERTISEMENT
Dec 3, 2009
I am trying to convert following code into a VB equivalent so that I can use it with threading my forms and controls.
using
System;
using
System.Collections.Generic;
[code]....
View 3 Replies
Jul 31, 2008
My website connects to a Microsoft Access DB at the moment, im about to upload it to the internet - its a VB.NET web application but i'm advised to convert it to MySQL or MSSQL for better performance.How would you recommend I export the DB ? there isn't too much data in at the moment so mainly all of the tables and fields.
View 2 Replies
Mar 1, 2009
Is there any equivallance code for c# or vb.net to StringUtils.remove?
Note: one is able to use StringUtils.remove in Java.
View 2 Replies
Mar 3, 2011
I know that
message.show.add
Displays a message box pop up. How do you go about creating a listbox pop-up similar to the message box pop-up? What is the listbox code equivalent to the above code?
View 1 Replies
Apr 6, 2011
I use VS 2008, .net 3.5, C# projects. I need do the same functionally like Microsoft.VisualBasic.FileIO.File System.DeleteDirectory. Anyone says referencing the Microsoft.VisualBasic is often undesirable from within C#. Any association with VB from within C# code strikes me as undesirable. Using FileSystem class, this is a perfectly fine solution, but I prefer not references Microsoft.VisualBasic library. That one I would avoid.
[code]...
View 4 Replies
Apr 14, 2010
I am beginner in programming and developed an application of mine. Although, I am finished with the coding part, but I have to present my software architecture diagram. I am not a software engineer and so familiar with basics of software engineering, layering etc.I have used 1) .NET GDI Graphics in my application, 2) Text to Speech, 3) RichTextBox which retireives pictures etc. How do I proceed with the architecture diagram now?
View 1 Replies
May 28, 2009
I need some guidance on the best way to proceed with searching a file content.I have a large file (see attachment) that is in text form, some of these files could be upto 50 times as big, therefore creating a huge file.These files contain information that is produced from another application and therefore I am unable to change the format of the file.This file contains information that I want the user to be able to be able to enter search criteria in a form that then searches this file and returns information. The individual information is split into sections of data and this is defined by the section start label lbl{ and the end label }} Therefore the below information highlighted in bold is an individual section
lbl{-32768 21 12 0 text {Equip no: P-102BDescr 1: RECYCLE PUMP-BDescr 2:}}lbl{-32768 21 28 0 text {Equip no: D-100Descr 1: COLUMN RECIEVERDescr 2:}}Now comes the hard bit, in the bold section above you will notice that there is some text Equip no: P-102B I want the user to be able to enter in a form *102B* and for it to return -32768 21 12 0 which is after lbl{ and before text.Now obviously I could loop through the whole file to do this, however I am very concerned about RAM usage and also the time it will take to do this. Obviously the user could use this search option over and over again and therefore we would be searching the same file over and over again. One of my thoughts was to read the file once and output the content in an Access Database table and then use SQL to get the information? However would the user require Access on there machine to be able to do create the database or could I just ship a blank Access database with my app and then copy this and populate? Also I am not sure if Access is the best database, obviously I don't want people to have to use Oracle of SQL as this would require server configuration etc. but are there better free databases out there?
View 5 Replies
Mar 6, 2009
I am suppose to do a VB form where it can be able to read, add, update and delete citectSCADA variables from access .But after entering the following code into my add button. my form jus hang.i tried F11. But still it didnt tell me the problem about it.VB
[Code]...
View 11 Replies
Jun 27, 2012
I am doing a Quiz form on VB.net . How to proceed on to the second question using the same form . I have linked the database to it so now my form1 is the first question . I need to save the answer and proceed to the second question using that same form
View 1 Replies
May 28, 2009
I need some guidance on the best way to proceed with searching a file content. I have a large file (see attachment) that is in text form, some of these files could be upto 50 times as big, therefore creating a huge file. These files contain information that is produced from another application and therefore I am unable to change the format of the file.
This file contains information that I want the user to be able to be able to enter search criteria in a form that then searches this file and returns information. The individual information is split into sections of data and this is defined by the section start label lbl{ and the end label }} Therefore the below information highlighted in bold is an individual section
CODE:
Now comes the hard bit, in the bold section above you will notice that there is some text Equip no: P-102B I want the user to be able to enter in a form *102B* and for it to return -32768 21 12 0 which is after lbl{ and before text
Now obviously I could loop through the whole file to do this, however I am very concerned about RAM usage and also the time it will take to do this. Obviously the user could use this search option over and over again and therefore we would be searching the same file over and over again.
What I am wondering is if anyone has an idea on how best to do this?
One of my thoughts was to read the file once and output the content in an Access Database table and then use SQL to get the information? However would the user require Access on there machine to be able to do create the database or could I just ship a blank Access database with my app and then copy this and populate? Also I am not sure if Access is the best database, obviously I don't want people to have to use Oracle of SQL as this would require server configuration etc. but are there better free databases out there?
View 2 Replies
May 18, 2009
i'm working on a simple drop down button. all the stuff i tried with context strips ended up misplacing the menu in all the wrong places, so i'm doing a dropdown button with a combobox and a button placed infront of the combobox but not the comboboxes arrow click. what i would like, is to click on a item in the combobox and proceed with command, instead of having to click a go button or such..
also, is it possible to fully customize a combobox? trujade..so much work to do and so many choices to choose from...
View 3 Replies
May 21, 2009
how do i have my app read a line from a textfile and if that line equals "whatever" proceed with command, this case a msgbox.so much work to do and so many choices to choose from...
View 3 Replies
Jun 3, 2009
i have a checkbox, when checked, contextmenu shows and remains visible until unchecked.. then i ran into a problem.. if i click any other control on my form, the context menu disappears and the checkbox remains checked. i have tried placing
[Code]...
View 5 Replies
May 19, 2009
i'm having a little trouble with a listbox. [Code]. i want the button command to run through the listbox items and proceed with given command. it's not listbox1.items.indexof(#), it's something else i'm missing.
View 2 Replies
May 22, 2009
Try
Dim s As New IO.StreamReader("C: est.txt")
For i As Integer = 1 To 4
s.ReadLine()
[code]....
this only reads one line and proceeds with command.. how can i fix this to be able to read multiple lines, like read line 7, do command, read line 9, do command, etc..so much work to do and so many choices to choose from...
View 4 Replies
Nov 1, 2009
I have a class with a Property called 'Value' which is of type Object.Value can be of any type, a structure, a class, an array, IList etc.My problem is with the setter and determining whether the value has changed or not.This is simple enough for value types, but reference types and lists present a problem.For a class, would you assume that the Equals method has been implemented correctly, or just assume that the value has changed every time the setter is called?If I did assume it's changed, then perhaps I should assume it for value types as well, so that the behaviour is consistent.
View 2 Replies
Aug 16, 2010
how we can declare a connectionstring in a module and call that module
View 1 Replies
Apr 27, 2012
I have a VB.Net interface that communicates with an Access 2k3 Database using this module:
Module MOD_ENGINE
'Declare Database connections controls
Dim con As New OleDb.OleDbConnection
Dim dbProvider, dbSource As String
[code]....
I want to call EngineConnect procedure from MOD_ENGINE module into popCboBox module so I can ignate the engine!
View 3 Replies
Jul 14, 2010
Vigenere Cipher which I am trying to code in VB.Net. The main thing is to decrypt to plain text with keys provided. Currently, I did a small code to decrypt NIOZS to COMPU with the key LUCKY. This is done by storing the cipher text, the key text and the English alphabets in 3 different arrays each starting at index 0.
However, I do not know how to proceed on if my cipher text is longer. My cipher text file consists of texts in .txt, every 5 words are group together (e.g. NIOZS ECPQE TOGCG YMKQF E). The keys are all different in lengths. I also understand about checking letter frequency to deduce the key but I do not know from which point to start on.
Can anyone give me some pointers as to how I can get to start for my program? I tried looking for samples but some applets on the web wasn't exactly accurate or I can't start it up after I dl-ed.
View 6 Replies
Aug 22, 2011
my goal is to
1.Take an file(exe,dll,etc)
2.Convert it into hex
3.place that hex values in a stack
4.Execute the values inside the stack to its original form(i.e. take the elements out of stack and then convert it to a compile format)
Imports System.IO
Sub Main()
Dim fileName As String = "ABC.exe"
[code]....
View 1 Replies
Jun 5, 2011
If a subroutine is called within a function, does the function always wait until that subroutine is completely finished before it will proceed with the rest of the function? If so, is there any way to make it not wait and continue on with the rest of function and not care what happens in the subroutine?
View 3 Replies
Dec 13, 2010
I had a problem with WebBrowser component. Basically, it works improperly when try to log in on one web-site (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site). I am working with Visual Studio 2010 Professional. I created a simple WebBrowser trying to access the indicated web-site. The problem begins. Well, the website loads, but when you go to the login page (Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site) and try to log in, it doesn't work. I mean, when I enter the login details the login page just refreshes itself and the login wasn't proceed. The same login page appear with every login attempt. The is the current problem!I check with Google, it works. But, it doesn't work with Forex Trading Social Network | Online Forex Trading Forum and Social Networking Site! Why?
View 14 Replies
Jun 30, 2009
I know that c# has using element....but as you know, using disposes object automatically...
clearly, I want the equivalence of with......end with in vb6.0?
View 8 Replies
Jan 9, 2009
I want to do something like this:
Code:
'create a dataset and a table
Dim ds As New DataSet
[code].....
View 5 Replies
Feb 25, 2011
I have a form that when you click a button it begins a query. I want the user to know that they already started a query and they basically need to wait and not hit the button again. To do this I have a list box that has an lbResults.item.add() to it
Code:
Private Sub btnControlKSMS1117Query_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnControlKSMS1117Query.Click
[code]....
View 1 Replies
Oct 15, 2011
I would like to know how to use module, why we need to use module and when to use module. I've tried to use module but some of my textboxes, labels and other controls didn't recognize by the module i've created.
View 5 Replies
Dec 8, 2009
How do I use a module?
View 3 Replies
Jul 23, 2009
I need to use some feature of VB.net that is Module for my Asp.net MVC project. But I found that C# can't handle Module like VB.net does. VB.Net - Globalization Project
[Code]...
View 5 Replies
Jan 12, 2011
Some of my co-workers make extensive use of the VB.net concept of Modules. Unfortunately, I just don't 'get it'. I see no benefit in using modules over shared classes. When would it be preferable to use a module?
View 2 Replies