|
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
|
|
|
|
|
hi .
I want to know how can get clicked link in IE or other browser with c#.net .(I want arived url of a link with click on it)
computer
|
|
|
|
|
Hi All
I tried to install Visual Studio.net version 2002 on my PC - WindowsXP profesional from CD. It requires install Microsoft.net Framework component for the first. Installing started but after second finished with Fatal Error. I look at log file and first ERROR was return value 1603 from dotnetfx.exe. I have installed both Framework 1.1 and Framework 2.0.
Please, can you help me. It is very important to install this SW.
Thank you.
Bohdan
|
|
|
|
|
Hi ,
I'm developing a web based system(ASP.NET with C#) ...where in I have to export the data in the database onto an excel sheet and mail using Lotus Notes ..
Can anyone help me with this ....... ?
Can I connect the .Net framework to Lotus Notes ?
Any inputs on this will be appreciated
Regards
Prashant
|
|
|
|
|
Need some help on caesar cipher.
I need to make a program that will read from a cipherd text and out put on a plaintext.
I am really a beginer type of programmer.
How can i start?
Where can i start?
Some help would be appriciated.
|
|
|
|
|
|
i'm getting XML files from my 'customer' that need a DTD to parse correctly (due to namespaces, etc), but the DTD is specified without a path: just the filename. this angers the XmlReader, since it can't find the DTD in the Windows/System32 folder (the file is elsewhere on my system, and i can't put it in the System32 folder in any case).
so, is there a way to tell XmlReader to look in a specific folder for the DTD ?
|
|
|
|
|
I need to find two types of files (xml and jpg) scattered over multiple subdirectories. Does anyone know how I can specify the wildcard in DirectoryInfo.GetFiles() to find all xmls and jpgs at the same time?
I've tried:
"*.xml;*.jpg"
"*.xml,*.jpg"
"*.xml *.jpg"
Nothing works.
"Acceptance without proof is the fundamental characteristic of Western religion, rejection without proof is the fundamental characteristic of Western science." - Gary Zukav
|
|
|
|
|
You can't do that. You have to call GetFiles for each filespec you have. You can't get them all at once using multiple filespecs in one call.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks Dave.
It stinks that we can't do this, but I guess I'll have to live with it.
-- modified at 12:23 Tuesday 10th October, 2006
"Acceptance without proof is the fundamental characteristic of Western religion, rejection without proof is the fundamental characteristic of Western science." - Gary Zukav
|
|
|
|
|
how can i set class name of a desktop application in vb.net
i've tried to use CreateParams.Classname but error suggests
class name is not registered.
for that i've used
following apiz...
//start
Public Declare Function RegisterClass Lib "user32" Alias "RegisterClassA" (<marshalas(unmanagedtype.struct)> ByRef Class As WNDCLASS) As Integer
<structlayout(layoutkind.sequential)> Public Structure WNDCLASS
....
end structure
//end
mycls.lpszClassName = "myclass"
MsgBox(RegisterClass(mycls))
Dim Params As CreateParams = New CreateParams
Params.Caption = DOCSVAULT_IDENTITY_SMB
Params.ClassName = clsDVSMB.lpszClassName
Me.CreateHandle(Params)
still its givin error.. how to register class and set my applications class?
"You can do any thing you set to your mind" - theGhost_k8
|
|
|
|
|
Hi, I want to use a combo box to display some values, however i dont want the user to be able to input their own values. I thought there would of been a 'Read Only' property for the ComboBox class, but I can't seem to find any property like this at all.
So how do you prevent users from entering their own values into the combo box?
Thanks
|
|
|
|
|
Hi,
you are not the first with this problem: Clickety[^]
Robert
|
|
|
|
|
Is it possible, if so how, using Visual Studio 2005 and write code against v1.1 of the .NET framework?
I need to convert an MFC C++ project to C# but using v1.1 of the .NET framework. I would rather not have to re-install VS 2003, but if there is no other way then so be it...
|
|
|
|
|
Hi,
Andy H wrote: Is it possible, if so how, using Visual Studio 2005 and write code against v1.1 of the .NET framework?
No way!
Robert
|
|
|
|
|
Can anyone help me take a back up of sql express database to export to sql server 2000
regards
Hari
|
|
|
|
|
I am working with the new FlatAppearance class under the
System.Windows.Forms.Button control in 2.0 and am creating a flat button. I
set the button FlatStyle to Flat and the FlatAppearance.BorderSize to 1.
When I run the app the border is exactly 2 pixels and not 1.
Is there anolther property you are suppose to set on the control or is this
simply a bug?
Thanks,
Anton
|
|
|
|
|
Hi,
I need some basic low level details of what happens when you ngen a .NET assembly.
Lets take a c++ code which when compiled creates a binary executable. On executing this binary, the OS allocates memory for the process and executes it. No concept of runtime or CLR here. Everything is present in the binary.
I read the MSDN and understand that .NGEN creates a native image of the code and avoids JIT compilation while execution by the CLR. Hence, at the end, I understand that the ngen creates binary code for specific processor.
If the native code (binary) is ready then why cant the OS take care of executing it and why the .NET runtime has to do the execution?
What does the CLR do then for a ngended assembly ?
I seem to get confused with this concept.Please clarify.
Thanks,
Mani
|
|
|
|
|
When NGen compiles your IL into a native assembly is still uses the CLR and the .NET framework class libraries. Also there would be a problem with updates to the .NET framework. For example if there was a security hole in the console.writeline method and you installed a patch for it then all the apps that use that method would not be updated and would require re-Ngening.
Here are some pros and cons to NGening.
PROS:
Improved application startup time: Since there is no JIT compilation.
Reducing the apps working set: Best if the app is going to be loaded into mutliple AppDomain or processes at the same time. Although the working set will still be less if not being used in multiple appdomains/processes.
CONS:
NGen files can get out of sync: updates to the hardware or .NET Framework will cause this.
Load-time performance hit: NGen files have the memory address references statically calculated. If for some reason it cannot be loaded at its preferred base address then it will require rebasing (Windows will have to relocate the file and fix up memory address references.)
Slower runtime performance: Ngen cannot make as many assumptions about the hardware and OS as the JIT can. The JIT can perform many more optimizations than NGen
█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██
|
|
|
|
|
Hi,
Captain See SharpSlower runtime performance: Ngen cannot make as many assumptions about the hardware and OS as the JIT can. The JIT can perform many more optimizations than NGen
Is this always true, also when NGening the assemblies directly on the target machine?
Robert
|
|
|
|
|
So, if I have a stand alone .NET application in a system, Ngening those .NET assemblies is recommended or not.
Please clarify.
|
|
|
|