Lan Messanger Created In .Net?
Jun 21, 2009i am syed hassan from pakistan i want Lan Messanger in VB . net with source plz tell me from where i get it..
View 1 Repliesi am syed hassan from pakistan i want Lan Messanger in VB . net with source plz tell me from where i get it..
View 1 RepliesI am making a program in which i would like to add an instant messenger in it, somewhat like windows live messenger but i don't have any code to base it off of.
View 1 RepliesI have an editor created invb.net that creates html files. And when i click the button run , the Internet Explorer opens my file that is inside the Richtextbox.
View 3 RepliesI am creating an Excel Add-In using Visual Studio 2010. My intention was to add a context menu to a cell and perform some action on the selected cell or cells. Here is the code I have got as of now
[Code]...
If you want a instance of an object to be created when a form loads or another class is created, you have two options:
Public class example
private IAmAObject As IAmAObject
public sub new()
[CODE]...
Or like this:
public class example
private IAmAObject as new IAmAObject
public sub new()
[CODE]...
I always use the first one. It's more type work but I think it's neater. How about you people and is there any real difference between the two?
I can usually find the answers to most of my questions via the Google Gods, but not this time.I have a form that has a TabPageControl and on that page a collection of labels and text boxes via a usercontrol.
On the form I have a button that allows the user to create a new tabpage, when the code adds a new page, it automatically adds the UserControl collection. I can't get my head around how to access the objects on the newly created tabpage.
What I need to be able todo is take the index of the tabpage that has focus and translate that against the UerContol name, but I havn't a clue how to do it!
[Code]...
I am adding a grid of buttons to a form at run-time, and all of then use the same Handler.My question is : Is there any way I canadd the TextBox at run-time ?I know how to but without it on the form, the IDE isn't very happy about the "MyClick" Sub - TextBox1 is not declared......
' some logic here to make nice rows and Columns of buttons
' with different .Text and .Name
Me.Controls.Add(btn)
[code]....
I have an application that dynamically creates winforms.
Dim NewS As New Form
Dim NewT as new Timer
NewT.Interval = 5000
[Code].....
I have an application that dynamically creates winforms.
Dim NewS As New Form
Dim NewT as new Timer
NewT.Interval = 5000
[code]......
I need to redirect my page based off of the ID that was just created.This is my insert statement that generates the ID that I will need to fetch for the redirect.
'SQL Insert: Product table
Dim sqlInsertProduct As String = "INSERT INTO Product
(ProductName, Status, CreateDate, ModifyDate,
CreateUser, ModifyUser, Price)
VALUES (@ProductName, @Status ,getdate(),
getdate(), @CreateUser, @ModifyUser, @Price)
[Code]...
The Response.Redirect is all the way at the bottom of the page after 3 other inserts into 3 different tables. The only thing I can think of to make this work is to put the redirect into that using, but I can't because I need the other tables to get inserted into and it wouldn't make sense to redirect before the rest of the inserts.
So, I'm at the stage where I have created checkboxes through the codes.Not through the toolbox.
They are added correctly to the form when I test it.Checkboxes can be checked or unchecked correctly.
But my problem is this:I want to use events mouseclick or mousehover with those checkboxes.
Is it possible for me to create a system in VB.NET which allows the SERVER (Personal Computer) to send a FREE SMS to any mobile devices automatically when the users are at certain place and do I need any additional external devices to make the system work? If yes, what kind of devices do I need?
View 7 RepliesI have created a program in vb.net, something like a inventory system. a simple one.. my only problem is, how can i add a configuration option where my user can select which server he will use for the database?
I tried using a sqldmo.. but it has an error when i instlled my program to another pc. But ive already add a reference to it.
I have created a library which generates a .DLL file that I include in some of my projects. Now my question is that I have 2 databases, a development and a production one. I want to give the user using the .DLL file to have the ability to select which database they want to query. How can I achieve that?
The way I know how to do it will require them to manually select the database EVERY TIME they call a function..
[Code]...
i am creating a console app that will delete pictures from a directory every 30 minutes. Problem is that its being populated by files every minute or so. So if i go and delete files in that directory then it may cause an error trying to delete a file thats being created just then or opened.
I currently have this code to copy the files to another directory and then delete them from the source directory.Dim f() As String = Directory.GetFiles(sourceDir)
[Code]...
I am trying to add text to an already created file on vb.net. When I run the program there are no errors and it writes everything to my liking, but currently when it goes to save, it makes me create an entirely new text file with any name I choose to give it. What I need to do is for it to automatically get added onto the end of an already created text file without deleting any other part of the file, which we will call "data.txt." Here is the code I already have
Imports System.IO
Public Class Frmadd
Const FILE_NAME As String = "data.txt"
[Code]....
I know AsyncPageTask creates a thread which we can use for long running processes, i was wondering where this thread is created as i am sure it does not use IIS request processing thread, then where this thread exist ?
View 1 RepliesI need to call a VB.NET DLL in VB6 application
View 2 RepliesI have written some classes in C# and compiled it. Now I have the library file for these classes. Can I use the same dll with Java?I do not want to write it in Java once again because I am writing the same program in different languages (trying to do so)
View 2 Repliesuser control, I'm dynamically creating an arrary of several labels within a groupbox on the controls form. This is done in the load event.The user control is then placed on the form of mainapplication and then run. My problem being that the labels are invisiblen I launch the app. The visible property for the labels is set to true during the creation of the controls.
View 3 RepliesI put this on a file
highlight
Namespace ias
Module robust
[code].....
I want to check if database is created or not whne using the below SQL command
CREATE DATABASE IF NOT EXISTS 'DatabaseName'
from the below link i could able to get if database exists or not. and i tried the same way to catch the result od SQL command. but i could not. correct me if i wrong. below is my code. Having a form with 2 text boxes (txt_host,txt_db) and a button Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[code]...
In my code I have
IO.File.Create("C: ext.txt")
then I try to
IO.File.Delete("C: ext.txt")
How do I close the file that was created?
I have done something like this for writing to files but not creating files.
Dim infile As IO.StreamReader = IO.File.OpenText(path)
infile.close()
I've got this code below that creates an HTTPLISTENER that is nicely waiting at listener.GetContext().How do I communicate with this from another VB app? I cannot seem to get WebRequest.Create to work with the URI that my HTTPLISTENER example is using. This line of code from a second app is not working:
Dim request As WebRequest = WebRequest.Create(prefixes(0))
Here is the code:
[Code]...
I've got this code below that creates an HTTPLISTENER that is nicely waiting at listener.GetContext().[code]....
View 1 RepliesI've recently got a job in the it department of a company and was told the project I am going to start working on. I'm going to start converting old programs to .net and was just curious how difficult that is? I've had no experience in c/c++ and would like to be able to start working on it without much hassle.
View 4 Repliesbasically iv'e created a combo containing three option, Small, medium and large.What i want is when i select "Small" in the combo box, "3.50" Appears in a textbox.
View 10 RepliesI created a getter and Setter in Visual Basic. I have some questions though. Please look at the code below.
A.) At line 1 below, should "pieces" be declared as Private?
B.) In the IDE at lines 4 and 7 the IDE keeps changing those variables to uppercase so that the property name "Pieces" is the same as the variable name "pieces".Should I instead define the integer pieces with an underscore: _pieces ?That is the only way I can get around the IDE forcing the variable to become uppercase. [code]
I'v created a program with a Ms SQL database, registration form and login form. Everything was working well so i detached the database and added it to my program as an existing item before so as to deploy the program. But now i recieve an error when i try to login to the database. The error states that there is a failure connecting to the database and the database cannot be opened
View 10 RepliesI created an Access Object in vb.net:Dim acApp As Object = CreateObject("Access.Application.11")en I open Access I need to pass a parameter to it though "/cmd".I read that the only way to accomplish this is through a shell - that it is not possible directly using an Access object.
View 5 Replies