hi
i am using Visual Basic 2010 Express.
i tried to copy project folder and rename it to duplicate one of my project. but it acts like my old project. i tried change root namespace and assembly name but no luck.
how can i duplicate my whole project like "save as"?
thanks
...
Hello,
I'm developing memory management program, that the Form1_Load Sub is like this:
Private Sub Form_Load()
HeapSize()
HeapFree()
HeapMax()
StorageSize()
StorageFree()
End Sub
But when I try to compile it, I'm getting this:
Compiling...
frmMain.hbf (1) : error #2000 : parse error before 'end-of-line'
frm...
i heard that this is not good.
but I want to make very generic programs.
would Visual Basic 6 suffice ?
...
I've noticed that RTL*Move*Memory seems to work just fine. But when I try to use RTL*Copy*Memory I get: "Can't find DLL entry point RtlCopyMemory in kernel32". Here is my declare:
Private Declare Sub CopyMem Lib "kernel32" Alias "RtlCopyMemory" ( _
ByVal dest As Long, _
ByVal source As Long, _
ByVal bytLen As Long)
...
Hi,
In my application, the password is encrypted and if the user forgets the password , there is no way to recover the password.Now we are cancelling that user account and creating a new one.Now i want a proper method to recover the password.The login is done using the Asp.net configuration tool.How can i recover my password using this?I...
I am reading file with text contents on it.
sample dictionary.txt contents:
aa
abaca
abroad
apple
Snippet A:
Dim path as String = Server.MapPath("dictionary.txt");
Dim dictionary() as String = {}
Try
{
dictionary = File.ReadAllLines(path)
}
Catch ex as Exception
End Try
Snippet B:
Dim path as String = Server.Ma...
I have a VB6 DLL embedded in some ASP pages. The DLL hits a Codebase database, an obsure and obsolete database engine (a dialect/variation on dBase) that virtually no-one has even heard of. It takes Codebase nearly a second to initialise a new connection, which is unacceptably slow and so I've created a connection pool, managed by a VB c...
Here is my problem,
I am doing a data migration from Lotus notes to another type of software that does not support Rich Text Fields. I am trying to write a VB 2005 program that will take any rich text fields that are found and place them into an RTF file - which will be uploaded as an attachment in the new software.
I cannot get the p...
Hi I have been looking at certain tutorials on sharparchitecture and trying to no avail (the online convertors don't seem to be able to do this):
private Action<AutoMappingExpressions> GetSetup()
{
return c =>
{
c.FindIdentity = type => type.Name == "Id";
};
}
private Action<IConventionFinder> GetConventions()
{
ret...
Hi,
I'm in the process of porting an old excel addin that was writen in VBA to VB .NET. The Excel addin interacts with a number of external com objects. The code sorta looks like this:
Dim hurr as Object
Dim durr as String
hurr = CreateObject("COM Object")
durr = hurr.getString
What I'm trying to do is read the string from the COM o...
I get this error while printing multiple .xps documents to a physical printer
Dim defaultPrintQueue As PrintQueue = GetForwardPrintQueue(My.Settings.SelectedPrinter)
Dim xpsPrintJob As PrintSystemJobInfo
xpsPrintJob = defaultPrintQueue.AddJob(JobName, Document, False)
Documents are spooled succesfully till, a print job exception o...
what libraries can i use to make http connections in visual basic? like cURL library for VB ?
i am looking for something like cURL for visual basic.
VB.NET ! sorry should've made it clear. i also want to know, if i can submit web forms with VB.
...
For instance,
I was trying to use
WebRequest request = WebRequest.Create("http://www.contoso.com/");
But get an error message!
I am trying to use the WebRequest .NET framework class http://msdn.microsoft.com/en-us/library/456dfw4f.aspx
How can I enable .NET? Is something wrong with my installation?
...
I am using visual basic 2008
i want to fill out forms, and I dont want to submit a POST url.
Instead, I need to access directly the DOM object, and somehow click or interact it programmatically.
should i use WebBrowser class ?
can you show a sample code where text is entered into an input box, and the submit button is clicked ? ex) ...
hi
i think this is my last question in 2009, and i wish a happy new year to all users.
When i use CommonAppDataRegistry in visual basic 2010, it sets value under my app's version in the registry. for example
My App
--->
1.5.0.0
---->
My value is here
is there a way to change this? i just wa...
Hi all,
I am looking for a contol either listbox or listview to support my requirements.
Basically how my application looks is:
The background should be black
when the user clicks any 'row' the
row should get highlighted witgh
grey.
The user will have the ability to
search items in this control.
For example , if one of the row
...
i use a program written in VB6 that uses crystal reports 7 for reporting. my machine crashed recently. i managed to copy the program files to a new system. when i try run the program, a file related to crystal reports is said to be missing. i was advised to install crystal reports 7 runtime. but i don't have the setup. anybody know where...
i am trying to use the API for "sign in with Google account" with my asp.net vb website just like StackOverflow or FriendFeed sign in with google. Please let me know if any one implemented it.
...
Hi,
I am new to VB programming.
I have 2 forms(2 windows). In first window,I have a tree view (the childs are the tables in DB.). On click of a any child, a list view(the data present in the table ) will be displayed on the right side of the tree view.
On double clicking on any row in the list view, another form will be opened. The cur...
I need to import data from Excel to Sql Server using ASP.NET. How can I do this?
...