 |
 | How to get an answer to your question |  | Chris Maunder | 17:30 10 Nov '05 |
|
 |
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- If you are posting source code with your question, place it inside <pre></pre> tags, or click the "Ignore HTML tags in this message" check box.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers, Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
 |
 | Hyper Terminal to VB 6.0 or VB.Net 2008 |  | Ishaan Karnik | 3hrs 43mins ago |
|
 |
I am doing a project where i recieve data through a RFID reciever and planning to extract the data on hyper terminal. I have heard their are com based files aviable for this . Is there some way so that i can get the data from Hyper Terminal to VB or VB.Net.
|
|
|
|
 |
|
 |
WHy are you bothering with HyperTerminal when .NET 2.0 has the SerialPort class to support communication over the serial ports?
|
|
|
|
 |
|
 |
Hi,
We done one application in .net 2005 and used (sql server, web services and reflection).
Now we want to migrate the application to frame work 3.5.
Please let me know if any deprecated methods and what should i take care
Please guide me to analyse the impact of this migration
Thanks in Advance
|
|
|
|
 |
|
|
 |
|
 |
Thanks for the soon reply
|
|
|
|
 |
|
 |
hi' please any one could help me to make my project an exe file using vb.net thanks alot wafaa
|
|
|
|
 |
|
 |
are you navigate to Debug/Release directory of your project?
whenever you run application, then a updated EXE is generated automatically in above directory
|
|
|
|
 |
|
 |
Hello Friends Actually i want to set the client area of MDI form for its child windows, because whenevr i maximize the child window it starts from (0,0) co-ordinates of MDI form. but bec i have tree viwver in my mDI form i have to change it so that i can see my child window and tree view too.
plz help me out
Avinash patil
|
|
|
|
 |
|
 |
You'll have to enumerate the Control collection of the MdiParent form. Look for a control of Type "MdiClient". When you find it, you can call it's SetBounds method or set it's Location to appropriate values.
For Each c As Control In MyMdiParent.Controls If TypeOf c Is MdiClient Then Dim client As MdiClient = DirectCast(c, MdiClient) client.Location = New Point(...) Exit For End If Next
|
|
|
|
 |
 | about .net framework 3.5 |  | rajmca.g | 8hrs 26mins ago |
|
 |
Please tell me where i can find the information and coding about WCF,WPF,Linq in .net framework 3.5.......
|
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi All, I have a text box in which a file path is displayed. A button to click and open the file. Code executes properly but the file dosent open. Here is the Code:
Private Sub btnOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click Try strIOPath = ucFile.TxtCode.Text If strIOPath = "" Then ShowMessage("No File For This Transaction") Exit Sub End If If IO.File.Exists(strIOPath) Then File.Open(strIOPath, FileMode.Create) Else ShowMessage("File Not Found") End If Catch ex As Exception ShowMessage(ex.Message) End Try End Sub
Thanks and Regards,
|
|
|
|
 |
|
 |
hi
File.Open(strIOPath, FileMode.Create)
FileMode.Create = Specifies that the operating system should create a new file. If the file already exists, it will be overwritten.
try with FileMode.Open
regards
|
|
|
|
 |
|
 |
hi,
if File.Open does not do what you expect, then maybe your expectations are incorrect. Go and check the documentation. That is what it is for.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
 |
 | Set my program as default. |  | Gagan.20 | 13hrs 50mins ago |
|
 |
Hi all...
Please suggest me how can I make my "Image Viewer" as default program for images through VB.Net.
Thanks.
Gagan
|
|
|
|
 |
|
 |
http://www.codeproject.com/KB/vb/VBFileAssociation.aspx[^]
Here is what you are looking for , "Image Viewer" as default program for images through VB.Net , you need to make a registry entry to associate .jpg, .bmp , etc file to your application and then when ever some body clicks on this file your application will be launched and name of the file (image file ) will come as command line arguments , you can than use it and display image in you Image Viewer
Thanks
-Regards Bharat Jain bharat.jain.nagpur@gmail.com
|
|
|
|
 |
|
 |
Thanks for your suggestion but I already did that. Now I can open image files through my program and Windows's default program.But the main thing is that I want to make my "Image Viewer" as default program for images through VB.Net programming.The same thing can be done as right click on image->properties->Change.(open with program).
Please help me how can I do it through programming.
Thanks.
Gagan
|
|
|
|
 |
 | listview to a word document |  | spruha369 | 13hrs 51mins ago |
|
 |
how can i write or transfer or save the items from listview to a word document or a text file? i m using vb6 pls guide me.
purvas
|
|
|
|
 |
|
|
 |
 | Control Collections with Multiple Forms |  | carterza | 13hrs 54mins ago |
|
 |
Hello,
I'm having some difficulties with Control Collections and multiple forms. I set up a control collection to use on the second form of my project. However, I am getting the following error in the .vb file for the second form:
Argument not specified for parameter 'host' of 'Public Sub New(host As System.Windows.Forms.Form)'.
However, in the New subroutine of the control collection there is clearly a link made between the two:
Public Sub New(ByVal host As System.Windows.Forms.Form) Form2 = host Me.AddNewTextBox() End Sub
It's confusing me because when I type Form2 = host, I don't see a Form2 class available in the drop down menu of MS Studio 2008, only a reference to the ReadOnly object.
I would greatly appreciate any help you all could provide me with.
Thanks, and have a great week!
|
|
|
|
 |
|
 |
Hi,
Error messages contain file names and line numbers, they often point you to the exact location of the problem. In general it is useful to tell your IDE to always display line numbers in editor windows; for Visual Studio, look under menu Tools/Options/...
That, or a little google search on "Argument not specified for parameter" will tell you exactly what the problem is. I leave it up to you to discover it.
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google - the quality and detail of your question reflects on the effectiveness of the help you are likely to get - use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
 |
|
 |
Thanks for the Reply Luc,
I actually figured it out, and when creating the global control collection object in my Form2 class I was using the statement Private _MyControlCollection As New ControlCollection. The New was causing the problem.
I should have been using the statement Private _MyControlCollection As ControlCollection.
|
|
|
|
 |
 | SQL queries - Where is my mistake |  | ivo75 | 8:50 1 Mar '09 |
|
 |
i have 2 table Rabotnici and zaplata this my code
Dim a As Date Dim b As Date a = FormatDateTime(DateTimePicker1.Value, DateFormat.ShortDate) b = FormatDateTime(DateTimePicker2.Value, DateFormat.ShortDate) Dim selectData = "select rabotnici.* from rabotnici,zaplata where rabotnici.rabotnik_name <>zaplata.worker_name and rabotnici.data_rabota<>zaplata.data_rabota and rabotnici.rabotnik_name='" & ComboBox1.Text & "' and rabotnici.data_rabota>='" & a & "' and rabotnici.data_rabota<='" & b & "' order by rabotnici.data_rabota"
but have a error I don't know where is my error
give me this error "Data type mismatch in criteria expression"
|
|
|
|
 |