|
Hello world!,
I want to make my classes, is possible that I can imported this classes?.
I think that I can use:
Imports MyClass
Is possible, How can do that?...
gangeles
|
|
|
|
|
In the project that you want to use your class library in, you have to add a reference to the library.
If the class library project is in the same solution as the project you want to use it in, add a project reference. If your library is completely finished and won't be changing, you can add a reference to the .DLL that your class library is in.
Only after the reference is added, will your Imports statement work and your code be able to use those classes.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-- modified at 11:12 Thursday 26th January, 2006
|
|
|
|
|
I got an error message as "IIS dose not Support ASP.Net version 1.1 you can not run the application " while running the WebApplication on VB.Net
I have done all the things like
1> Configuring the IIS
2> Reinstalling on .Net
The Error Still remain
Can anybody tell me the solution.
sagarharale@gmail.com
Sagar Harale
|
|
|
|
|
Does the machine in question meet the requirements of ASP.NET 1.1?
ASP.NET Platform Requirements[^]
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
there is no sound when i run this simple code??what is the problem?
Dim Peedy As AgentObjects.IAgentCtlCharacter
Const PEEDYPATH = "Peedy.acs"
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Peedy.Speak("hi man how are you")
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
AxAgent1.Characters.Load("Peedy", PEEDYPATH)
Peedy = AxAgent1.Characters("Peedy")
Peedy.Show()
'Merlin.Play("GestureLeft")
'Merlin.Hide()
End Sub
|
|
|
|
|
Your problem is not code related.
I have an application that I wrote two to three years ago when I was starting to learn Visual Studio and Visual Basic .NET. The application uses Peedy and I use the "Speak" syntax also.
On my Windows XP development system, all I see are the words display over his head on the screen.
On my Windows 2000 system I see the words, but also hear him say the words.
I've compared my systems and have no idea what is installed on my old system that allows him to talk. My Windows 2000 system is about 7 years old and started out as Windows NT. I've installed many software applications on it and removed many of them over the years.
I have no idea what driver or software is installed that allows him to speak, but I can say one thing. It's not the VB code.
Lost in the vast sea of .NET
<a href="http://www.komputing.com/Pricelist.html">Visit my website at www.komputing.com</a>
-- modified at 12:44 Thursday 26th January, 2006
|
|
|
|
|
hi! here's my problem...i'm using a listbox where i drop objects and they're added into the list...now, i want to implement that, when a selected item is dragged and droped into the form which contains this list, the item is removed from the list...
i've implemented it, but it's not working very well...sometimes when i drop an item into the form from the list, an exception occurs telling me that there was an error with the list's bounds...here's the code:
'this one is for when the drag starts from the list (to the form)
Private Sub lstReglas_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lstReglas.MouseDown
If lstReglas.SelectedItem <> Nothing Then
lstReglas.DoDragDrop(lstReglas.SelectedItem, DragDropEffects.Move)
End If
End Sub
'here is when i enter the form while dragging the item
Private Sub windows_DragEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles MyBase.DragEnter
If e.Data.GetDataPresent(DataFormats.Text) Then
e.Effect = DragDropEffects.Move
Else
e.Effect = DragDropEffects.None
End If
End Sub
'and this happens when i drop the item into the form
Private Sub windows_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles MyBase.DragDrop
lstReglas.Items.Remove(lstReglas.SelectedItem)
End Sub
|
|
|
|
|
i want a function (or class contains a function) doing this:
function_name(12.154) will return: twelve, one hundred and fifty four
|
|
|
|
|
Hi,
This is a programming forum, we answer questions on programming problems etc. This does not include doing full complete solutions, for this most of us charge.
Perhaps when you have a specific programming question you can come back, or maybe you could try a google search, beacuse I assure you that what you are after has been done in every language at least once
|
|
|
|
|
ok a programming forum!!!
so i need a mechanism solution!!!!!!!!
i want a function like:
function_name(12.521) as string: twelve, five hundred and twenty one
what is the problem with my question,, it is my problem and simply
I need a solution,, if u know answer me,, if u dont know dont reply..!
with my respects
|
|
|
|
|
|
Now i am using Visual studio 2005. in design time all controls displayed in
Xp style, in run time it looks like win 2000 style. what is the problem?
please advice..
|
|
|
|
|
Hi
I recently came accreoss an application that creates a database, complete with data and stored procedures etc. on installation of the application.
Can anyone tell me how to do this? I use VS.NET 2003.
Thanks in advance...
::He who brings joy to the world is raised amongst men than he who conquers the world::
|
|
|
|
|
(For SQL Server..?)
The way I do this is to ship the .mdb file of the database with all the procs, tables, reference data etc in it and use sp_dbattach to attach it to the server.
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
|
|
|
|
|
Another way to do it is to script the database and it's data in an .SQL script file, then have the SQL server execute it during the installation.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I believe you can script the DB objects, but not the data. I have been wondering myself how to do this with scripting...
The way we handle the problem is to include a script, which is run to create the tables, views, SPs, etc. Then, we also ship an XML file of "base" or "setup" data that we load into a dataset, and then save to the database, right after initial setup.
|
|
|
|
|
There's absolutely no reason why you wouldn't you be able to put a bunch of INSERT INTO statements into a text file and have SQL run that too.
The XML version you have works too.
If you have a TON of data to preload, create a DTS job to import it. If it's a bunch of data, an XML import works too. If it's just a few things, you could drop the appropriate INSERT INTO statements into the SQL script...
The point is it can be automated, it's just a matter of preference how you want to do it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
To create the scritp just right click on the database and try to find the command "Generate to script..." may be in the "All task" sub menu. But it just generate the structure of the database, not all of the record.
|
|
|
|
|
Hi all,
is there another control or a way to ovorcome the timer limitations in VB6? I mean that the standard control can be configured to a maximum of 65535 ms. I'm interested to set it to minutes. Is it possible or is there any other control to do that?
Thanks in advance,
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
There's no way to change the control. Setting a Timer for minutes is also not a real good idea. Usually, people are doing this thinking it can be used as a scheduler to launch some task at a specified time. That's a bad design.
In any case, you're much better off setting the Timer for, say, 60 seconds, then in the Tick event, checking the current time against the scheduled time of the process you want to launch.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi
Does anyone know if there is a way to read the CMOS battery voltage using vb.Net
Cheers
Richard
|
|
|
|
|
Only if the motherboard supplyies such information and you have some software interface to get at it. 99% of them don't.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
IF the motherboard supply information, where does this information is located? In the system information or in device manager dialog?
|
|
|
|
|
You'll have to consult with the motherboard manufacturer. There is no standard to follow, therefore, no way to know how it's going to be exposed.
It's not going to be listed anywhere in the System Properties, Device Manager dialog, or anywhere else for that matter.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thank you very much for your information.
|
|
|
|