Hi,
I don't know how to create a main method in vb.net or even if using c# in .net.
I have to test a file that someone has sent me but there is no main method in that class, how do I test it out? I know it is probably very basic but I am very confused and keep getting an error that I need to add a main for an entry point or something about my .exe file is missing.
Please help!
User Profile
Collapse
-
*VB Script
Hi All!
Not sure if this is the right place to be posting a vb script question. I am new to VB and VB Script and wanted to know about running a VB Script file.
If I have a dll (from a vb project) and want to excute my script file I am just placing the file name in the command line arguments box under the properties window, how can I run multiple scripts one after each other without always replacing the script file name?... -
Thanks for all the help...very much appreciated :) !!!! -
Hi..it's me again.
I tried using a loop to get the count of each checkbox that is check but i don't think that i can use checkboxi.check ed (where i is the number of the checkbox) do you always have to state the proper name for the checkbox like checkbox1 instead of checkboxi where i=1?
Thanks again for any help!!!Leave a comment:
-
if statements...please help :)
Hi! I am using vb.net and have some basic questions
I was wondering if i have a very long line of code (a long if statement), can it extend onto two lines? If so how would I do that?
I also wanted to know say I have 7 checkboxes and the condition on my if statement is to check if only one box has been checked, is the only way to do this by having all the different combinations listed?
Thank... -
modules in vb.net
hello all i have a beginner question,
i am using vb.net and wanted to know that if i declare a variable in a module and assign that variable to a textbox in a form(say form1), when i try to access that variable in another form(say form2) should i be able to get the value. i don't know if i doing something incorrectly b/c when i try to get the value of the variable in the 2nd form it shows up as an empty string even though i assigned... -
Yippy!!!!!!!!! Thank you so much Frinny for all ur help!!! It works and now i can continue with my work and not get in trouble!!!Leave a comment:
-
Thank you Frinavale :) !
Now i just need to know how to access my methods in vb.net. I have the imports dll @ the top
dim test = New Testing
test.method
but the method names are not showing up after the period, am i declaring it wrong? how would i do it? very grateful for all the help so far!Leave a comment:
-
thanks for ur assitance thus far...opps sorry i am using vb.net. i have created a few variable's which are the text entered into a text box in my 2nd form (someone's name, address, phone number). I then want to use these variables in my 5th form and also pass them as parameters to some methods that are called in the 5th form once a button is pressed. not sure how to access them, i have tried form1.name /name.form1 but have been extremley unsu...Leave a comment:
-
i am using .net and created a window's application...i want to know how to reference variables across different forms (form 1 to form 5)so if u could please sugguest on how to do that.
Thanks.Leave a comment:
-
Thanks so much Plater!!!
Now i just wanted to know how to refer to the methods in my class on the new dll object would i type:
myc.method name?
I have tried that but it doesn't seem to work
this last piece of information would really be appreciated!!!
Also i have tried declaring the namespace @ the top of my class:
using namespace;
but i get an error saying u statement cannot appear...Leave a comment:
-
referencing variable across forms
Hi again! hope there is no limit to posting newbies questions but this will probably be my last one for a while! I have managed to find some answers to other questions in my mind on here..yippy!
Ok i wanted to know how to refer to a variable from (maybe from a text box) on one form to another form. I have managed to refer to them currently by passing them along to each new created form everytime (one by one) but wanted to refer... -
Hi there! u really seem to be answering my question, very much appreciated!
When i right click on the dll and choose view in object browser i see my dll name and if i open it under all the classes r there. Does that mean i should be able to reference them? From my little use of vb.net i have noticed that as soon as u put a period (.) the method names avaible to u usually show up but none of the methods from the dll do.Leave a comment:
-
Hi..thanks for replying!
Ok i have created a window's application and just have the vb.scripts as test scripts. When u push certain button's on my window's application i want the different test scripts to run, instead of having to put all the code under the button code. Is this possible to do?
Thanks!Leave a comment:
-
adding a dll
Hi All,
I am trying to add a dll to my .net project.
I have added a reference to the dll(from .net project) through browse and although the name of the dll shows up under references none of the classes are there and i am not able to use any of the methods from it. I am not sure if i am adding the dll correctly. Could you please advise on what i am doing incorrectly and how to sucessful add this dll to my project.... -
hey...i though someone would have answered my question by now :( ! if u have a moment can u please try to help!
ThanksLeave a comment:
-
Running VBScripts
Hi,
I am new to .net and hardly know anything therefore i have an extremely basic question.
when i am running any vb script using a project i created in .net i am simply entering my file name in the command line arguments. how can i run multiple scripts right after another without having to always replace the file name. i tried creating a main class and using Procedure.start (file.name) but it only works when that file...
No activity results to display
Show More
Leave a comment: