|
Thanks for the help again.....
Mr Oizo
|
|
|
|
|
I need help with code.
The app I'm building I have a combo box for drive letters
I want the combo box to only have the cd/dvd drives listed instead of having A-Z
also when i change the selection I want it to display disc volume label and capacity to 2 separate text boxes.
The rest of app is in 1.1 so I'm looking for a 1.1 solution.
Please help me out.
|
|
|
|
|
What you're looking for comes from WMI and the Win32_LogicalDisk[^] class. All you need is the Windows Management Instrumentation classes in the .NET Framework under the System.Management[^] namespace.
|
|
|
|
|
Well that page is talking about windows script.
and not sure how I can convert it to .net 1.1
|
|
|
|
|
No, that page is talking about a WMI class. The example on it is in VBScript.
The second link is about using WMI in the .NET Framework.
|
|
|
|
|
Could anyone please make me a hotel management system using VB.NET.pLEASE ITS KIND OF AGENT.i WILL HIGHLY APPRECIATE.tHANK YOU.
|
|
|
|
|
For a reasonable fee, sure no problem - make me an offer.
Maybe you should have started your homework/assignment earlier, then it wouldn't be urgent.
|
|
|
|
|
Ok,what amount should it cost me?Make it fair and try me this time.I will help you one day.Its just that i was held-up abit.
|
|
|
|
|
Sure, i can do that for $3000
Next time dont tell us what to do, you dont pay us
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Why you complaining,i kind of requested and i used please!!!
|
|
|
|
|
you should not come here, and say "KIND OF AGENT"
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Lemme think about it. ehhhh....NO! This forum is for getting help, not doing projects for people! Get to work!
---------------------------
Both optimists and pessimists are important in technology. The optimist invented the aeroplane; the pessimist invented the parachute.
Regards,
Hesbon Ongira
Nairobi, Kenya.
|
|
|
|
|
i can never do it for him , am just annoyed when he comes here and ask us to do a Project for him "Urgently".
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Come on Hesbon,u kenyan like me,you know what it entails to work on multiple projects.I just needed help urgently.....
|
|
|
|
|
No, sorry, you DIDN'T MAKE YOUR REQUEST LOUDLY ENOUGH SO TRY ASKING LOUDER AND MAYBE ONE OF US WILL SAY YES!
"If you think of yourselves as helpless and ineffectual, it is certain that you will create a despotic government to be your master. The wise despot, therefore, maintains among his subjects a popular sense that they are helpless and ineffectual."
- Frank Herbert
|
|
|
|
|
I wish i could just hit the CAPS-LOCK and express how am really interested in that project.Am really requsting i didnt mean to be vulgar.HELP ME OUT PLEASE!!!!!!Thanks.
|
|
|
|
|
I know it gets bad sometimes, but surely I'm not the only one able to spot a troll here ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hehe I figured it probably was. So I thought I'd use the chance to post something using big red letters (been wanting to do that for awhile.. just to be silly..) when I wouldn't actually insult someone asking a real question
"If you think of yourselves as helpless and ineffectual, it is certain that you will create a despotic government to be your master. The wise despot, therefore, maintains among his subjects a popular sense that they are helpless and ineffectual."
- Frank Herbert
|
|
|
|
|
i am working in a VB Access application where a Business Object is used.
whenever i launch the appllication it gives me error on Business Object.
Is it that i dont have the Busines Object in my machine?
How does it actually works?
Do i need to download the business object from somewhere?
|
|
|
|
|
nicetohaveyou wrote: i am working in a VB Access application where a Business Object is used.
You're going to have to explain this a bit more to get an answer. What's a "Business Object"?? Is this a VB6 or VB.NET app with an Access database as a backend?? Or is this an app written in Access with VBA code??
nicetohaveyou wrote: whenever i launch the appllication it gives me error on Business Object.
Standard question #1: "What is the error message"?
nicetohaveyou wrote: How does it actually works?
Do i need to download the business object from somewhere?
You haven't told us what "Business Object" is, so how can we tell you how it works?? Got a link to this library or control you're using?? Searching for "Business Object" is a little pointless considering how generic the name is.
|
|
|
|
|
i have tried to use 3 layers
Presentation Layer,business Logic Layer, Data Access Layer
Just i Have tried,tell whether this is correct or not?
In My Presentation Layer
i have two textbox one for UserName and other for password
Private Sub btnSubmit_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.ServerClick
Try
Dim cus As New UserBLL
cus.UserName = txtuser.Value.ToString
cus.UserPass = txtPass.Value.ToString
cus.Verify()
Catch ex As Exception
Response.Write(ex.Message.ToString())
End Try
End Sub
In My business Logic Layer
Public Property UserName()
Get
Return user
End Get
Set(ByVal Value)
Try
Me.user = Value
If (Me.user = "") Then
Throw New Exception("Please Provide The User Name")
End If
Catch ex As Exception
Throw New Exception(ex.Message.ToString)
End Try
End Set
End Property
Public Property UserPass()
Get
Return pass
End Get
Set(ByVal Value)
Try
Me.pass = Value
If (Me.pass = "") Then
Throw New Exception("Please Provide The Pasword")
End If
Catch ex As Exception
Throw New Exception(ex.Message.ToString)
End Try
End Set
End Property
Public Sub Verify()
strReturnfromDAL = UsrData.Verify2("user", "pass")
End Sub
In Data Access Layer i Have
Public Function Verify2(ByVal str As String, ByVal str2 As String) As String
If str = "user" And str2 = "pass" Then
Return str + "" + str2
End If
End Function
In above i have tried to get a concept but i think i am not in correct way and
i need a result like verfying the user name and password and return back to BLL
i am not getting any error but i am not able to get the value of verify function to prsentation layer.
sathimailin
-- modified at 7:21 Tuesday 16th October, 2007
|
|
|
|
|
You obviously don't have a data layer here at all.
Your 'business layer' is using exceptions to pass information that should exist in the presentation layer.
You plainly don't need to call ToString on a Text property, it's a strng already
Having the username and password as members makes no sense at all, you want to pass them in and get a result, you don't want to store them
sathimailin1 wrote: Try
Me.user = Value
If (Me.user = "") Then
Throw New Exception("Please Provide The User Name")
End If
Catch ex As Exception
Throw New Exception(ex.Message.ToString)
End Try
What is this in aid of ? Make sure you catch the only exception that can be thrown, and rethrow it ?
This is all a mess, throw it away and start again. Get a database and write a proc which returns true is a username/password combination is valid. Return true or false from the BL, whch just calls the proc. Do all your rendering/generating of messages in the PL
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks Christian Graus
I will try with procs and i will post again to get the answer whether correct or not
sathimailin
|
|
|
|
|
Hi Christian Graus,
i Have reposted my doubt after making modifications again today .
sathimailin
|
|
|
|
|
Hi experts,
I m basically fighting wid a prb for writing data in a physically opened excel file. Is it possible to write in cells of the excel which is physically open ?
If so, pls guide me how can i implement it ?
Thanks.
|
|
|
|