|
Thanks Mike, that's just what I needed.
Dave
|
|
|
|
|
Hi all,
I am new to .Net framework and ASP.Net programming. Now I have a job like this:
Application have to automatically check for certain condition( access Database table records for checking conditions) and if the condition met, have to deliver mail to mailId specified in a table (stored different mail Ids to different conditions). Regardless of any request reception server have to do this job. As a new .Net developer i know only how to use SMTPMail class and MailMessage class to send a simple mail. But i have no idea about how to make it automatically run in server.
Could any one please advice me to proceed this job?
I appreciate even a small amount information from you.
Thanks in advance.
Regards
Renu
Renu
|
|
|
|
|
I'm trying to create a subcategory inside a defined category that i have created (similar to the default collapsed font in the appearance default property).
how can i create something like that?
thanks,
Lior
|
|
|
|
|
Hi,
I have a problem in interop.
I have a c++ dll that has a function that takes the control handle as input and does some manipulation on the editable field.
// HINSTANCE SetInstanceHandle(HINSTANCE hInstance)
I have a .NET form in which I have a textbox control. Now I import the c++ dll and invoke the function. Now, I pass the textbox control's handle as Control.ControlAccessibleObject .Handle (which returns a IntPtr). This gives me an error quoting "The runtime has encountered a fatal error. The address of the error was at 0x79ef04d2, on thread 0x364. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack."
I dont know what this error imply. I am also afraid that my way of accessing the handle in .NET is wrong.
Please guide me to access this c++ function.
Thanks,
Mani
|
|
|
|
|
hi guys can u tell me how to enable LAN card using shell and c#.net.
hello
|
|
|
|
|
|
hey
thanks alot , its the same i was looking for
luv u )
|
|
|
|
|
hi
i want to configue my modam via shell ,, can I ?
i want to set number to dial in my own application
is that possible
thanks in advance
hello
|
|
|
|
|
Hi,
I have a problem in .NET custom wizards.
Am getting an error on opening a wizard. It quotes ..
"Could not run the
'C:\Program Files\Microsoft Visual Studio .NET 2003
\VC#\CSharpProjectItems\LocalProjectItems\..\ViewCodeWizrd.vsz' wizard."
I tried the suggestion in the link http://www.petedavis.net/dotnet_articles/wizardfix.html.
But this doesnt seem to work though.
Could any one please guide in this.
Thanks,
Mani
|
|
|
|
|
hi guys i am trying to disable my lan adapter card and again enable it ,,
i am using WMI and the following code ,, but i am getting an exception
"The method is not implemented by any class" why is that ? and how to resolve this issue ,,, can any help me please,,,
=========================
ObjectQuery oQuery = new System.Management.ObjectQuery("Select * from Win32_networkadapter")
string[] o = new string[1];
ManagementObjectSearcher oSearcher = new ManagementObjectSearcher(oQuery);
ManagementObjectCollection oReturnCollection = oSearcher.Get();
foreach (ManagementObject oReturn in oReturnCollection)
{
Console.WriteLine(oReturn["macaddress"].ToString().ToLower());
oReturn.InvokeMethod("disable",(object[])o);
i also use the same code with the statement
oReturn.InvokeMethod("enable",(object[])o);
====================
i am using win/xp , visual studio 2005
}
please help me out
thanks in advance
raaj
|
|
|
|
|
The documentation you're looking at is for Windows Vista. The Win32_NetworkAdapter class on any version of Windows below Vista doesn't have a Disable or Enable method. All they have are Reset and SetPowerState methods.
Enable and Disable don't show up until you run your app on Windows Vista.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
ok thanks alot
Actually i have also called reset method but it says same
method is not implemented
please help me
thanks in advance
-- modified at 6:13 Friday 13th October, 2006
hello
|
|
|
|
|
That's because the Reset mehtod doesn't have any code attached to it. You can call it, it's there, but it doesn't do anything. It exists if the manufacturer of the card wants to hang any code on it.
There's no way to do what you want using WMI if your code is running on Windows XP or lower.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Ok thanks
but is there any other way doing so using xp but except shell
hello
|
|
|
|
|
I already gave it to you in your other post.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
When I could not compile a database project, there was an error in compilation.
--------
vbc : Command line error BC2017 : could not find library 'System.Configuration.d
ll'
vbc : Fatal error BC2000 : compiler initialization failed unexpectedly: The syst
em cannot find the file specified.
---------------------------
I have two versions and only one fo them has the dll and not the other.
I have no clue why this is so.
Can someone point what might have happenned?
---------------------------------------------
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
has
system.configuration.dll
system.configuration.Install.dll
system.configurationInstall.xml
system.configuration.xml
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215
has only
system.configuration.Install.dll
|
|
|
|
|
It looks like you are trying to use a beta version of the .NET framework. I know for sure that not all of the beta versions were feature complete, so they might be missing some files. Although this looks like the installation is broken, If I were you I'd do a clean install of the .NET framework on that machine and see if that does anything.
WM.
What about weapons of mass-construction?
|
|
|
|
|
Thanks a lot for the response. I will get rid of the orphaned version and try.
By weapons of mass destruction do you mean windows automatic update which ha caused havoc in recent days?
|
|
|
|
|
Nah, that's not what I mean. Was just wondering some time ago, whether there are weapons of mass construction. But noone can tell me if there are any
WM.
What about weapons of mass-construction?
|
|
|
|
|
Von Nueman machines. Nanotech grey goo.
Both fortunately beyond our current level of technology.
|
|
|
|
|
Pfew, knowing that lets me sleep better at night
WM.
What about weapons of mass-construction?
|
|
|
|
|
Could any one help how to resolve my problem in remoting in VB.NET
I like to inform you that I’m in between beginner and moderate level. I’m developing a application in VB.NET using remoting concept for my academic purpose. I need replica of a object which is created in a server application to be accessed in other remote client machine…
Kindly help me as I’m nearing my dealine…
I’ll explain you briefly through a sample code…
First I’ll run this application and initialize the object…
Application 1(server):
Class file :
Class x
Public y as integer
…
…
End class
VB file:
Function init()
Dim ab as x
Ab.y=5
End function
After running the application 1, then I’m running the client machine.
Application 2(Remote Client):
VB file:
Dim obj as remoteobj
dim x as integer
x=obj.y
so that the value gets stored in the variable x.
Hariram
|
|
|
|
|
What exactly is the problem you're facing?
|
|
|
|
|
sirs,
Thank you for ur reply...
i'm creating an object in a server. and i have to access the same object from the client. So that the client can also edit the client details...
Hariram
|
|
|
|
|
Peace,
I'm trying to view the changed property of a costume control when i change it in the design mode.
i defined the property as followed:
[Bindable(true)]
[Category("Box")]
[DefaultValue("Sophia")]
[Description("The Item description displayed in the control")]
public string DBItem_Description
{
get
{
EnsureChildControls();
return ItemDesc.Text;
}
set
{
EnsureChildControls();
ItemDesc.Text = value;
}
}
but it seems to ignore the default value and allso even if i change the value in the design mode i get the same ignorance from the VStudio.
thanks,
lior
|
|
|
|