Programming tutorials online .NET, Java, C++, Visual Basic, and More
 

Home
.NET Tutorials
General Programming Tutorials
Community/Forums
Site Extras

 

VB/VB.NET Forum

Open forum for discussing anything VB 6 or Visual Basic .NET related.

Previous Page Next Page Collapse All | Post Message
MESSAGE PREVIEW (Replies) POSTED BY WHEN
I have developed an application in which i have added a dialog box to open files which are in .txt and .bat extension..the problem here is that when i click on the respected files after the dialog box appears the files don't open it only displays..Here's the source that i tried with.

cdbbox.DialogTitle = "File Open"
cdbbox.Filter = "*.txt""*.bat"
cdbbox.ShowOpen

Could anyone suggest where i was wrong?

Regards (0)
Code007.Net 6/10/2007 12:54:00 AM
Hi there! there is a lot of difference between vb and vb.net.
Visually, there are a lot of windows that have been added to vb.net.

Code wise, vb.net now makes use of inheritance that is vb.net is now object oriented and makes use of all the capabilities of OOP.

The .Net framework is so complex that it contains a lot of tools that can be used for anything that vb 6.0 cannot do.

This is just but a few. (0)
Seyram 6/6/2007 2:34:00 PM
I want to encrypt the whole ASCII message using Cipher Block Chaining MAC and generate the 8 byte Hex key by applying CBC MAC to whole message using vb.net.How can i achieve this?
Sample message="54654654645621587213212...." (length=642)
Key=32653241 (8 byte)
Thanks:
Danish Majid (0)
danishce 5/24/2007 7:08:00 AM
Please help me!

I want to create a program that will calculate the leave credit day of a member as I'll show below:

1. Startdate(x): This is the dat the members starts working;
2. Currentdate(y): Today's day,
3. LeaveDays(z): This are the leave day that the member has and will accumulate every end of the month with AccumDays(n),
4. leaveTaken(m): Will be the leave days that will be taken by the member when going on leave,
5. TotalLeaveDays(i): At the end it must compute from the LeaveDays(z)and LeaveTaken(m) to give the TotalLeaveDays(i, taking into consideration the StartDate(x) and CurrentDate(y).

This program must be able to compute the leave day by updating itself every end of the month whe it accumulate the days and when someone goes on leave.

PLEASE HELP ME in this regard with some examples and codes.

Thanx.

(0)
mevanga 5/22/2007 7:59:00 PM
http://www.free-ebooks-download.org

-- EBOOKS FREE !! Do visit this free ebook site where you can download free ebooks on MCSD.NET , MCTS Dumps

and lots of other free IT ebooks http://www.free-ebooks-download.org for C# ebooks , VB.NET ebooks , ASP.NET ebooks , ADO.NET ebooks , http://www.free-ebooks-download.org AJAX ebooks , SQL 2005 ebooks and more!!

Thanks
Jay
http://www.free-ebooks-download.org (0)
asp.net ebooks 5/21/2007 1:48:00 AM
Although i now alot more then computers then most people my age, i only know very simple programming. I wanna be able to do things like make programs. I also wanna know how to make a password protected link on a website or simething.

Can anyone help me? (0)
Bubbz 5/15/2007 11:11:00 PM
Hi guys,



I have a for loop with which i want to sum the bytes in a packet from the 3rd position to the 50th position (assuming that the number of bytes are 55).



So i have done the following;



dim i, sum as integer

sum=0

for i = p2 to p50

sum=sum+i

next



It does not sum the bytes from p2 to p50 (where p is the position of the index such that p0 will be the first byte).
It just shows the sum as the value of p2.



Can anyone help please?



Thanks...
(0)
vish707 5/11/2007 10:33:00 AM
Hi, can someone put me through on animations! I`m seriously want to learn it. (0) Uchendu 5/10/2007 4:07:00 PM
want a code for payroll and personnel mgt inorder to compare with the one i wrote. (0) Uchendu 5/10/2007 3:49:00 PM
Hi,
Is there a way of reading data from the socket. I mean if a socket has a packet of data, how can i read that packet's data to create appropriate files?



This is because, i am sending data from remote site, and i have an asynchronous server running. I can detect connections but cannot read the packets from the buffer. The packet's data section has details like time, id number, site number etc, which i need to extract and create files based on the site numbers and date / time as shown in the packet.
PLEASE GUIDE ME!!!
(0)
vish707 5/8/2007 12:07:00 PM
hi!
i am new to .net and also web applications builiding but i have accepted a huge project and i am stuck at the very beginning! please help!
my problem is with consuming a webservice which is quite complex. most books only provide simple examples... how do i use a webservice with almost 10 parameters?
and everytime i try to add the webservice i get the following error...

e:\inetpub\wwwroot\AbacusEasy1\Web References\availability\Reference.map(1): Custom tool error: Unable to import WebService/Schema. A schema with the namespace '' has already been added.

what does this mean and how do i handle it??????

please do help! it is critical!!
(0)
madhuguru 5/5/2007 2:55:00 PM
Hi,
I'm currently trying to make a simple picture Puzzle Game ,but i have some questions. I hope I found the answers here .


First, How I can separate a picture into small pieces?

Second, I want the user drag and drop the parts of the picture into the playing board . How I can do that ?

I search on internet , but i couldn't find any helpful information



Finally , any ideas about what I should use to create the playing board ?
pictureBox Or TabLayoutPanel or what ?


I know some of these questions is stupid , but that bcoz i'm beginner in VB.NET : )



Thanx (f) (0)
ksa 4/21/2007 6:19:00 PM
I have created a new Visual Basic 6 tutorials and source code site. It is http://www.vb6.us - I hope others find it helpful, let me know. (0) mjwest 4/19/2007 11:52:00 PM
I would like to develop an interactive software version of a paper based text book with more than one language. If somebody could suggest me the techniques/technologies I have to apply, I will be grateful to them. Please help me. (0) [email protected] 4/16/2007 12:26:00 PM
Hi,
I am fairly new to the dot net platform. I am converting a software from VB6 to VB.net (version 2003). I am unable to convert the datareports... it does not open design view. I would really appreciate your advise on how to resolve this without remaking the report.

(0)
homi 4/11/2007 6:19:00 AM
i have XML file , i am trying to encrypt xml file and then dercypt that xml file .
All xml file have the corresponding Dataset corresponding to the perticule form.
when i am dercrypting the xml file send error

Bad Data
at System.security.Cryptography.CryptoApITransform_DecryptDate(intPty hkey, brte[] rpt--)
like that (0)
Brijesh Sharma 4/11/2007 2:49:00 AM
Hello,

How to draw curves on picbox using .Line method instead of .Pset method.

Thank's (0)
Benx 4/8/2007 4:54:00 AM

Hello,
I want to insert data directly into my windows form data grid and load a combobox(userid) in the 1st column of data grid,a textbox(password) in 2nd column of datagrid.
The code for insert data is:
dim cmd as new oledbcommand("insert into table(userid,password) values('" & cmbcol1.text & "','" & txtcol2.text & "')",connection)
dim da as new oledbdataadapter
dim ds as new dataset
da.selectcommand=cmd
da.fill(ds)
messagebox.show "Record Inserted successfully"

I want to insert the data into database so when the user presses the enter key in 2nd column of datagrid(txtcol2.text),the above code for inserting data is executed and cursor moves to second row of 1st column.
can anybody explain me how to achieve this in vb.net 2003 windows form?
Regards:
Danish Majid


(0)
danishce 4/5/2007 5:12:00 AM
I have a question concerning the GC in VB and when to set an object to nothing to remove all references. If I have an instance variable that I declare and use it several times, pointing it to various objects in a given method, will this cause a problem with the garbage collector? Here is an example of what I mean:

Dim lvItem As System.Windows.Forms.ListViewItem

lvItem = lstView1.Items.Add("Item1")
lvItem.SubItems.Add("SubItem1-1")
lvItem.SubItems.Add("SubItem1-2")

lvItem = Nothing

lvItem = lstView2.Items.Add("Item2")
lvItem.SubItems.Add("SubItem2-1")
lvItem.SubItems.Add("SubItem2-2")

If my understanding of VB garbage collection is correct, the "lvItem = Nothing" should be required in order to dereference the object it is pointing to between each use. Is this correct?
Thanks. (0)
javawzd 4/3/2007 1:33:00 AM
Hello,
I have wrote code to draw celestial grid lines, but drawing
is very slow to display, need help Vb6.

(0)
Benx 3/31/2007 5:36:00 PM
I have no idea. (0) Sheknova 3/27/2007 6:38:00 PM
Hi there... I was wondering if anyone can please help. I would like to know how do i code; a file needs to be copied from one pc to another pc via the network? (1) Taka 3/27/2007 4:00:00 PM
Hi forks, I want you to send a pack of VB.NET jagons(terms) to me with their meaning i.e Glossaries.Thanks (0) Bishob Ray 3/27/2007 4:07:00 AM
hi this is Bishob Ray, I want you to tell me the meaning or more explation on this word: SUBS,DEL,DIM and simple question with demostrated answer. Thanks (0) Bishob Ray 3/27/2007 4:00:00 AM
hi,

i need a help from u guys.please help me by sending code for this.
am a learner in vb.net.

i created a form window in vb.net.on the form its display my hard disk partitions using combo box.by clicking the respective partition that selected partion the Security properties need to change. for the selected partion the permission for Write must be denied.Not allowed the user to write anything to that drive(You can see Security properties by right clicking on the volume and choosing Properties in Explorer, then Security tab.). the thing is write allow changed to deny.

if possible sent the code.

waiting for ur reply friends
(0)
vinothsivakumar 3/23/2007 9:30:00 AM
Previous Page Next Page Collapse All | Post Message


 
Sign In
Email
Password
  Forgot my password

Search

Featured Book

Introducing Microsoft .Net, Third Edition ($19.79)
Introducing Microsoft .Net, Third Edition


Featured Software

Microsoft Visual Studio Standard 2005 ($249.99)
Microsoft Visual Studio Standard 2005





 
© 2022 Ammastore.org
All Rights Reserved
COMPUTER SCIENCE HOMEWORK | Privacy/Disclaimer