-
- looking for book that explains how to isolate data/business/presentation layers
by keyen
- 1 Replies
- Last post
by Ayhan Yerli (TR-NL)
- like the subject states, i'm looking for a book that explains how to separate the data, business and presentation layers of the software that i write. I'm looking to improve the quality of my code so that it's easy for other programmers to maintain it.
-
- Editing old application
by Palmer_MD
- 10 Replies
- Last post
by PEng1
- Hello,
I am trying to edit an old application. I want to change some of the code written in visual basic, but when I open the project to edit it there are 58 warnings. When I try to open the .vb file which contains the code the warnings turn into errors. At least the first one does. I'm not sure what to do with the error, or how to fix it.
The appication runs perfectly on the custome
-
- Embarassing question
by Dan Nelson
- 5 Replies
- Last post
by rkimble
- I thought I knew this stuff, but...
Create a new VB Windows Forms application. Set it to start up maximized and set the FormBorderStyle property to Sizeable. Add a button right near the lower-right corner (or anywhere near the bottom) and set the anchor to bottom/right. Add the following code as the button's handler:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
-
- Open Excel File in Vb.net
by anuragNet
- 4 Replies
- Last post
by anuragNet
- Hi,
I have an excel file,having lot or micros, connecting to database, doing some complex calculation..inshot that excel file is itself an application.
Now I want to open that excel in VB.net form, on button click. I prefer to open that excel in vb.net form itself having all the excel tool bar etc, If that is not possible then opening in separate window using excel will also solve
-
- Virtual storage drive like GDrive( Google virtual drive)
by Kiran Beladiya
- 1 Replies
- Last post
by robinjam
- Hey Friends,
I want to develop a virtual storage drive project in .Net. but confused about how to start I have alerady created a web drive solution which working using WebDav protocol, but it uses Iexplorer to display files and folders. Whereas i want to display the folders and files in Windows explorer (Something exactly like What Gdrive software does)
I want to something like this.. Once i
-
- Can FileSystemWatcher monitor a Netware directory?
by Vickiw
- 1 Replies
- Last post
by TaDa
- Hi,
We operate a Novell Netware Cluster with mapped drives. I have attempted to create a class to monitor one of these directories without success. I can monitor a local drive on my PC, but there doesn't appear to be any functions which will monitor the netware directory. Is this the case, or am I missing something
The error I get is 'Unknown function' which according to various sources,
-
- display msgbox in particular area
by narasiman_jayachandran_2b5374
- 4 Replies
- Last post
by narasiman_jayachandran_2b5374
- hi
can anybody say how to display the msgbox at a particular area in the screen for the display the msgbox at 0,0 or center likewise
-
- Can this be done better?
by Dave-X
- 8 Replies
- Last post
by James A. Gayhart
- Hello, I'm a on/off freelance programmer for several years now. I love doing it as a hobby and I like writing useful programs I can use. I often come up with ideas for a simple program that do one task mainly for the purpose so I can use them as a learning experience that I can later use.
I wanted to learn about using binary files so I decided to write a simple ID3v1 class that can read, ed
-
- Exception has been thrown by a target of an invocation
by Fille
- 14 Replies
- Last post
by Bruno Yu - MSFT
- Hello,
I've got the error exception has been thrown by a target of an invocation on the next line
Dim frmObject As New Object
frmObject = Activator.CreateInstance(Form, Parameters) 'on this line it jams
What is wrong Strange thing is when I debug it on my machine it works ok, on another machine I got this error. Also is strange that it worked a long time and now it
-
- Image in DataGridView
by Seppe001
- 6 Replies
- Last post
by Bruno Yu - MSFT
- Hello!
I want to use images/pictures/icons (coming from the ressources) in a DataGridView in a separate field. The picture shown in this field will depend on a value of another field.
Can anybody help me
-
- Deployment of VB app with Server Instance of SQL Server Express
by Moonshadow
- 3 Replies
- Last post
by Moonshadow
- I have created a VB app with Full Text Search which will be distributed via CD. FTS is not supported by the User Instance default of Visual Basic, but by attaching the DB to a server instance I can run the app in VB during development. However I am having trouble deploying it with the server instance instead of the typical User Instance of Sql Server.
Can anyone point me to resources or pro
-
- Counting lines with RTF
by The Midnighter
- 13 Replies
- Last post
by nogChoco
- So I made my own notepad to replace Windows Notepad, the POS that it is. It's just missing one thing;
I want to count the lines of code / writing in the notepad, and I have searched the ends of the internet for an answer, but to no prevail. Does anyone know how I could go about this
Thanks!
-
- HOW TO CONVERT NUMBERS TO WORDS
by Panaboy
- 3 Replies
- Last post
by ~DigBoy~
- Nedd some help with code is not working so far....
Public Class Form1
Dim BigOnes(9) As String
Dim Smallones(19) As String
Private Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles Button1.Click
Dim bln, bln2 As Boolean
'Text1.Text = Format(Val(Text1.Text), " ######.##")
'get the number to be 6 digits and two decim
-
- Overflow error
by S.R.H.
- 2 Replies
- Last post
by nobugz
- Salutations.
I'm guessing this is very simple, but for some reason I am getting an overflow error.
I am assigning a ULong the value:
17185173228092391431
According to msdn, the maximum value for a ULong is:
18446744073709551615
Any help would be greatly appreciated.
-
- joined querry for grid
by fazee
- 2 Replies
- Last post
by Bruno Yu - MSFT
- hi i have a grid in a form binded with a binding source of a single table i want to show party name from other table solution is is joined command or query behind but joined query does update, what to do to get party name from other table and also should be update able thnx Faisal iqbal ch
-
- Adding a reference and your opinion required on....
by John Oliver (UK&am
- 2 Replies
- Last post
by SJWhiteley
- Hi,
I need help with my post at>>
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1388593&SiteID=1
Secondly, what is the opinion of any professional developers or anyone else reading this with regard to having lots of files in a single project please
Is it believed that having more component files makes a solution or a project more manageable or / and easier to debug
-
- User-Defined events not firing in VB6 from .NET user control
by Dana Comolli
- 2 Replies
- Last post
by Dana Comolli
- I have a simple .NET interop user control. I cannot seem to be able to get my user-defined event to fire in VB6.
Below is the .NET code for the control
Code Snippet
_
Public Class DOTNETControll
# Region "VB6 Interop Code"
# If COM_INTEROP_ENABLED Then
# Region "COM Registration"
' These GUIDs provide the COM identity for this class
-
- Obtaining System Information
by metzler000
- 7 Replies
- Last post
by Tamer R.
- How do you obtain system information such as free hd space, processor speed, memory, etc
Mark
-
- Display live system time VB2005
by James883
- 1 Replies
- Last post
by DigBoy2000
- Does anybody know how to get the live time. I am currently using a code which displays the time when the form loads and it just stops the same.
Does anyone know how to keep it ticking to the systems local time
-
- Connectin to Oracle
by Helfrich
- 12 Replies
- Last post
by Helfrich
- I am converting a VB6 app to VB.NET 2005, and it includes a connection to an Oracle DB via DSN. My connection in VB6 looks something like:
Dim connObj as ADODB.Connection
connObj.Open "DSN=<DSN Name>;UID=<User ID>;PWD=<Password>"
The only way I have been able to get a connection to the same database in VB.NET is:
Dim connObj as ADODB.Connectio
-
- Needing major project help. Data control
by D.J.
- 5 Replies
- Last post
by DigBoy2000
- Hello there! Currently I'm working on an application that has 2 main parts. It's for a game, but this application doesnt deal with the game itself. I would like it to edit some files (.lua - acts as a .txt file) and save data as a file (a .lua file).
What I created is a form where a person can input various properties of a monster from the game (ID#, name, priority, ...) and I would like th
-
- How they do it? - Number Formatting (Calculator)
by Cesar Francisco
- 8 Replies
- Last post
by Cesar Francisco
- How to format number 1234567777 as 1,234,567,777
Imports System
Imports System.Globalization
Imports System.Threading
Module Module1
Sub Main()
Thread.CurrentThread.CurrentCulture = New CultureInfo( "en-us" )
End Sub
End Module
--------------------------------------------------------
Form1
Dim A as double
Display.Text = A.ToString(
-
- Problems with assembly versions!
by epson
- 4 Replies
- Last post
by epson
- Hi, the program i'm developing is using a dll of a class library we did before, that library ("CM.Research.MDGraphicToProduction.dll") is working fine. But when i use a class contained in this dll, i receive a problem.
Look this is where i use the class:
'MDObject is a CM.Research.MDGraphicToProduction.MDRemote
...
re = CM.Base.RemoteInstance.RemoteElements.Import(MDObject)
-
- Is there a better toggle swith?
by Cesar Francisco
- 10 Replies
- Last post
by Solitaire
- Private Sub bttnSizing_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bttnSizing.Click
I f small = True Then
bttnSizing.FlatStyle = FlatStyle.Flat
Me .Height = 326
Me .Width = 300
small = False
Exit Sub
ElseIf small = Fa
-
- Help needed to create a 'generic' conversion function please. To2dArray
by John Oliver &#40;UK&am
- 12 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- Hi,
In my last post in this thread.>>
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1762338&SiteID=1&mode=1
i have created 2 functions.
To1dArray 'converts a 2D array to a 1D array
To2dArray ' does the reverse, 1dArray to a 2dArray of TYPE Integer only.
How can i make it work with any TYPE please
Regards,
S_DS