|
I find that if I don't specify the exact path even if the dll is the same directory as the exe it still can't find it. Is that correct?
|
|
|
|
|
Never had a problem with it. I've built several VB6 projects using libraries I've built into C .DLLs. All I ever had to do was put the DLL files into the same directory as the project and add a reference to the DLL's or to their Type Library files.
RageInTheMachine9532
|
|
|
|
|
I am trying to create an application that allows the user to lookup different email client / messaging systems to allow them to import a list of contact details.
Outlook is easy enough to do but I am having some problems trying to find resources for Lotus Notes and Novell Groupwise. Has anyone tried something similar to this and can offer some light on it?
Thanks in advance!
Matthew
Live to ride. Ride to live.
|
|
|
|
|
I am sorry for asking such a trivial question, but here it goes. I have a form in vb.net that I would like to be by start up object. Every time I try to compile I get Sub Main not found. Is there a project option or something I need to set in Visual Studo.NET? If so where is it?
|
|
|
|
|
Click on your menu Project -> Properties. You Project Property Pages will show. Select Common Properties -> General in the left pane. You can then see a property called Startup Object in the right pane. Select the form you want as the startup object and click Apply.
On a side note, this is in the Help provided by the IDE. You could have solved this quicker if you looked there first
God, I pity me! - Phoncible P. Bone
If I end up Windows ME someone is going to be hurting. - One of the answers to a question for What OS are you
|
|
|
|
|
Hello All
I want to know if is there anyway to get the string length in Points?
I have the string str = "hello"
and if you call str.length, and will get 5
I know that str.length return integer.. but i want it in points..
Is 5 points equal to what str.length ( which is 5 in this case ) return in Integer ??
|
|
|
|
|
Hi,
Currently, I am using visual studio.net to program. The language used is vb.net.
I need to build an application that allows me to print preview an image and then print the image out. I have draged in a PrintPreviewDialog control from the toolbar and also a OpenFileDialog control for me to browse the image that I want to preview and print it out.In my codes i wrote the followings:
Codes:
PrintPreviewDialog1.ShowDialog()
Dim printDoc As New PrintDocument()
printDoc.DocumentName = OpenFileDialog1.FileName
PrintPreviewDialog1.Document = printDoc
However, the above codes work well for text document and not for image. If I choose an image, the output shown was a white blank piece of paper. Is there a way to change the printpreview dialog settings or there are any alternatives to preview and print an image file? Thank you in advance.
|
|
|
|
|
How can i print a report landscape with datareport in vb?
Pls answer to me
Mkh
|
|
|
|
|
Hi
1) Can i rotate text in my fix col(if my text larger than width i add to
fixrow height and rotate my text 90 degree)?
2) can i add checkbox to my flexgrid?(F.E for showing boolean data)
3) Can i print all rows and cols in my flexgrid
Pleassse answer to me
thanks
MkhProgrammer
|
|
|
|
|
Hi
1) How can i add to DETAILS label that not in my bank like counting record?
2) How can i add checkbox to details for boolean field like ACCESS2000?
3) How can each row of DETAILS section had another color? (like every other one gray and white)
4) Can i view a unknown mdb file ( for my program unknown means i
don't know it's table and fields and ...) in datareport and get
print from its data???? (LIKe report generator)
Pleasssse answer me as soon as possible
thanks
MkhProgrammer
|
|
|
|
|
Please help,
I have done an beginner application, I need to change the color the title bar of the form to be yellow instead of blue.
Thank you for you help
|
|
|
|
|
You have two choice:
First change color of windows title bar! All form changed
Second you can simulate title bar in a form without title bar with a picturebox and 3 command.
For example mail to me to post an example code for you
as soon as possible for me
MkhProgrammer
MkhProgrammer
|
|
|
|
|
Dear Sir,
could you pls send me the sample code? just a blank form with code to show the changes of the title bar of the form ( not all windows form).
Please help.
Thank you in advance.
Best Regards
Hendrik
|
|
|
|
|
I want to load a microsoft word document into a windows application form. The document that is loaded acts a background image in the form which allows the Tablet PC's user to write something on the form. After that, it allows the user to save the form into the database. Is there a way to solve this problem. Thanks.
|
|
|
|
|
I need to start a second application from within my current application. I know that the Shell function can do this but I am working with a mobile device application and Shell is not supported with it. Does anyone know of another way to do this?
Thanks
-CPlacek
|
|
|
|
|
How about System.Diagnostic.Process.Start() ?
God, I pity me! - Phoncible P. Bone
If I end up Windows ME someone is going to be hurting. - One of the answers to a question for What OS are you
|
|
|
|
|
I've built a SmartDeviceApplication in the Compact Framework. System.Diagnostic.Process.Start() is not available. Any other suggestions?
-CPlacek
|
|
|
|
|
Hello
I have a small question.
Do i need to call the Recordset.Close before i set it to nothing?
Or the destructor will close it?
Set oRsAdmin = oDb.Execute("SELECT * FROM tbAdmin " & _
"WHERE User = '" & UserId$ & "'")
oRsAdmin.Close
Set oRsAdmin = Nothing
OR
Set oRsAdmin = Nothing
Thank you
Ilya
|
|
|
|
|
oRsAdmin.Close
Set oRsAdmin = Nothing
IS right!
|
|
|
|
|
I think it's closed automatically !!
|
|
|
|
|
Hello Everybody
I access the data as follows..
Check Box Order Number Entered By Qty Total Qty 25
1 ab 10 Entered BY ab
2 xy 15
3 xy 6
4 ab 15
5 mn 21
6 rs 21
Now I like to put check mark to group the orders entered by same person and see what would be the total quantity . Ex. Another columns which expalin that when there is a check mark against ab the that would be total qyantity and the name of the person.
I hope I explain clearly. I need help here.. How can I do that?
I am new to Vb.net. Pl. let me know.
Thanks.
bmpu
|
|
|
|
|
I'am new to VB and doing a little dibbling. When I create a form and want to have a label/text or a picture capable of draging and droping on any part of my form? I am using a picture on the form and want to be able to move lables/text or other picture boxes from one location to another on the picture.
Barry
|
|
|
|
|
I am relatively new to VB, using VB6; and working on a project that needs to be able to allow someone to type into a text box a name and then click a button to have it search through a certain drive's folders for Excel or Word files that have that the name somewhere in the file.
I have found some codes on the net that can do close to that, BUT I need the people using this application to be able to double-click on the file from the list of ones returned and be able to have that file open up in either Excel or Word depending on the extension.
Using oshell.FindFiles seems to get me the closest to accomplishing what I want by just pulling up the Window's Serch box; but how can I make the "containing text" box stand out, or tell it to look at .xls and .doc files, and OLNLY from certain directories in a certain drive?
Is oshell.FindFast what I should be trying to do this on or is there another way?
Thanks for any help anyone can offer; it is mucho appreciated!
CP
|
|
|
|
|
I have 2 class libraries and a Windows Application that use a common set of of structures and classes to pass and manipulate data. Each is written in VB.NET. My thinking was to create a public module, shared through Source Safe so a GetLatest would at least update all projects before a build. Now, many of the public and private methods within each class library pass data types that include some of these "shared" structures and classes.
I was planning on simply including that public module in each of these projects so the type information would be common knowledge. However, it doesn't work... the compiler says (for instance in the Windows application) that the type should be ClassLibrary1.modPublicStructures.clsMyClass and not MyWindowsApp.modPublicStructures.clsMyClass.
Now, I KNOW I can simply create yet another class library that contains this set of common classes and then add a reference to that new class library to each of these projects... but that's now ANOTHER DLL added to the project. Surely there's another way to accomplish this.
???
|
|
|
|
|
Hi All,
Is this forum an appropriate place for issues regarding VBA development? (I'm working with Excel) -- If not, can anyone recommend a good forum?
Thanks
READIN writin rhythmetic
|
|
|
|