Post Reply  Post Thread 
Pages (2): « First [1] 2 Next > Last »
Visual Basic questions
Author Message
LaserJohn
Contributor
****


Posts: 178
Group: Contributors
Joined: Mar 2006
Status: Offline
Post: #1
Visual Basic questions

Can any one please tell me how to write, read and search a file in visual basic?



LG LAPTOP S1 EXPRESS PRO DUO.:. CORE 2 DUO 1.8 GHz.:.ATI RADEON MOBLITY X1600 512 MB DDR II .:.160 GB SATA HDD.:.1024 MB DDR II RAM @ 667 MHz

This post was last modified: 10-23-2007 05:01 PM by LaserJohn.

08-24-2006 05:32 AM
Find all posts by this user Quote this message in a reply
fabiank22
dreamer
***


Posts: 155
Group: Beta Discussion Members
Joined: Jul 2006
Status: Offline
Post: #2
RE: Visual Basic questions

What Visual Basic? VB.Net? VBA?

In either case http://www.microsoft.com and then "developers" is the first place you should be looking.

08-24-2006 06:47 AM
Find all posts by this user Quote this message in a reply
Shendo
Beta version
******


Posts: 388
Group: Super Moderators
Joined: Jun 2006
Status: Offline
Post: #3
RE: Visual Basic questions

You can go to planet source code, just select a programming language and enter a tearm to search for.


[ www.shendo.ngemu.com ]

This post was last modified: 08-24-2006 08:14 AM by Shendo.

08-24-2006 08:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
LaserJohn
Contributor
****


Posts: 178
Group: Contributors
Joined: Mar 2006
Status: Offline
Post: #4
RE: Visual Basic questions

Hello guys!

Could any one please analyse this code and tell me how to increase the total number if charecters in the entry field?



Attached File(s)
.rar File  2.rar (Size: 780.47 KB / Downloads: 36)


LG LAPTOP S1 EXPRESS PRO DUO.:. CORE 2 DUO 1.8 GHz.:.ATI RADEON MOBLITY X1600 512 MB DDR II .:.160 GB SATA HDD.:.1024 MB DDR II RAM @ 667 MHz

08-26-2006 04:10 PM
Find all posts by this user Quote this message in a reply
Shendo
Beta version
******


Posts: 388
Group: Super Moderators
Joined: Jun 2006
Status: Offline
Post: #5
RE: Visual Basic questions

That is for Visual Basic 6.0 right?
I tried to open the project but i got a bunch of errors (not a single form could be loaded).


[ www.shendo.ngemu.com ]

This post was last modified: 08-26-2006 05:25 PM by Shendo.

08-26-2006 05:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
LaserJohn
Contributor
****


Posts: 178
Group: Contributors
Joined: Mar 2006
Status: Offline
Post: #6
RE: Visual Basic questions

is it because every form had atleast one picture?



LG LAPTOP S1 EXPRESS PRO DUO.:. CORE 2 DUO 1.8 GHz.:.ATI RADEON MOBLITY X1600 512 MB DDR II .:.160 GB SATA HDD.:.1024 MB DDR II RAM @ 667 MHz

08-27-2006 07:06 AM
Find all posts by this user Quote this message in a reply
Shendo
Beta version
******


Posts: 388
Group: Super Moderators
Joined: Jun 2006
Status: Offline
Post: #7
RE: Visual Basic questions

No, the paths are all messed up...

I finally was able to load a project when I put it into C:\Diary2 and I had to add a
few forms manually, but 2 things are missing: Module1.bas and clsBlowfish.cls.


[ www.shendo.ngemu.com ]

This post was last modified: 08-27-2006 07:58 AM by Shendo.

08-27-2006 07:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
LaserJohn
Contributor
****


Posts: 178
Group: Contributors
Joined: Mar 2006
Status: Offline
Post: #8
RE: Visual Basic questions

Sorry about the late reply.... here are the stuff.....



LG LAPTOP S1 EXPRESS PRO DUO.:. CORE 2 DUO 1.8 GHz.:.ATI RADEON MOBLITY X1600 512 MB DDR II .:.160 GB SATA HDD.:.1024 MB DDR II RAM @ 667 MHz

This post was last modified: 09-27-2006 07:35 AM by LaserJohn.

08-30-2006 11:56 AM
Find all posts by this user Quote this message in a reply
Shendo
Beta version
******


Posts: 388
Group: Super Moderators
Joined: Jun 2006
Status: Offline
Post: #9
RE: Visual Basic questions

Ok, i got it working (well partially, during runtime every once in a while error appear but it is not a big deal).

About what entry field are you taking about? (You could post a screenshot or something...)

Btw: I noticed how you make 3 MsgBox for every row:

Code:
MsgBox "1st row", vbOKOnly
MsgBox "2nd row", vbOKOnly
MsgBox "3rd row", vbOKOnly

and that makes 3 msg boxes to appear, you can put all that in only one MsgBox:

Code:
MsgBox "1st row" & vbCrLf & "2nd row" & vbCrLf & "3rd row", vbOKOnly, "Title"


[ www.shendo.ngemu.com ]

This post was last modified: 08-30-2006 02:47 PM by Shendo.

08-30-2006 02:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
LaserJohn
Contributor
****


Posts: 178
Group: Contributors
Joined: Mar 2006
Status: Offline
Post: #10
RE: Visual Basic questions

Here's the screen shot... I cant get it to store more than 255 characters in it...

please try to fix it....

   



LG LAPTOP S1 EXPRESS PRO DUO.:. CORE 2 DUO 1.8 GHz.:.ATI RADEON MOBLITY X1600 512 MB DDR II .:.160 GB SATA HDD.:.1024 MB DDR II RAM @ 667 MHz

08-31-2006 05:19 AM
Find all posts by this user Quote this message in a reply
Shendo
Beta version
******


Posts: 388
Group: Super Moderators
Joined: Jun 2006
Status: Offline
Post: #11
RE: Visual Basic questions

Hm, I see that you are using multiline but without scroll bars, try this:
select that textbox, go to properties (on the right side) select ScrollBars and
pick and option : 2-Vertical.

Btw: I'm sorry but i can't try that program fully, there are too many errors
during runtime it would take me forever to debug.


[ www.shendo.ngemu.com ]
08-31-2006 08:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
LaserJohn
Contributor
****


Posts: 178
Group: Contributors
Joined: Mar 2006
Status: Offline
Post: #12
RE: Visual Basic questions

Is there a way to add exceptions to windows firewall? or better still... is there a way to to use winsock without alerting windows firewall?

Thanks in advance!



LG LAPTOP S1 EXPRESS PRO DUO.:. CORE 2 DUO 1.8 GHz.:.ATI RADEON MOBLITY X1600 512 MB DDR II .:.160 GB SATA HDD.:.1024 MB DDR II RAM @ 667 MHz

09-27-2006 07:32 AM
Find all posts by this user Quote this message in a reply
Shendo
Beta version
******


Posts: 388
Group: Super Moderators
Joined: Jun 2006
Status: Offline
Post: #13
RE: Visual Basic questions

LaserJohn Wrote:
Is there a way to add exceptions to windows firewall?

Yep, but manually, i'm not sure how to do that automatically.
Just go to Control pannel and click on security center icon, after that click Windows firewall (under Manage security settings for: )
and go to exceptions tab, there you can add/remove exceptions.


[ www.shendo.ngemu.com ]

This post was last modified: 09-27-2006 10:25 AM by Shendo.

09-27-2006 10:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ATravelingGeek
Registered


Posts: 35
Group: Registered
Joined: Sep 2006
Status: Offline
Post: #14
RE: Visual Basic questions

LaserJohn Wrote:
Is there a way to add exceptions to windows firewall?


Yes there is; infact it's documented on Microsoft's support site. Give me a bit and I'll find the links to that as well as a possible way to doing it from inside the app (Microsoft's way involves importing a key to the registry).

Edit:

If you can run a shell command from inside your app, this page http://support.microsoft.com/kb/875357/ will help - look twards the bottom for the shell commands for adding programs / ports.


MacBook Pro / 2.0 GHz Intel Core Duo / 1.5Gb DDR2 SDRAM / Radeon Mobility X1600 128MB / Mac OS X 10.4 and Win XP Pro (Dual boot)

This post was last modified: 09-27-2006 04:27 PM by ATravelingGeek.

09-27-2006 04:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
LaserJohn
Contributor
****


Posts: 178
Group: Contributors
Joined: Mar 2006
Status: Offline
Post: #15
RE: Visual Basic questions

Thanks so much!!! I found a way to programatically add exceptions to the windows firewall... If you wanna know how... ask me...



LG LAPTOP S1 EXPRESS PRO DUO.:. CORE 2 DUO 1.8 GHz.:.ATI RADEON MOBLITY X1600 512 MB DDR II .:.160 GB SATA HDD.:.1024 MB DDR II RAM @ 667 MHz

09-30-2006 01:53 PM
Find all posts by this user Quote this message in a reply
Pages (2): « First [1] 2 Next > Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: