|
hi J4amieC
thx for ur suggestions. i have asked to come up with an idea to serve an or push an usercontrol from the server to the client thru web service so that the client can use that usercontrol. we haven't started coding yet. i just want to come up with how to achive it? if u people have got ideas to achive it then please let me know.
Thanks and Regards
Rajanikanth A.B
|
|
|
|
|
You have provided no further information in this post whatsoever!
|
|
|
|
|
anurajju wrote: if i had got the ansewrs sure i would have followed up.
Obviously not.
If you didn't post in so many categories, perhaps you could keep track of the replies.
The thread[^]
anurajju wrote: Solutions are better than comments!
Well, not if you don't read the replies that contains the solutions...
---
b { font-weight: normal; }
|
|
|
|
|
My requirement is to communicate data from a s/w to a Wireless access point which supports https protocol. All I understood is HTTPS is HTTP over SSL and client needs a certificate to connect to webserver while establishing connection.
Guide me which C# class has to be used. What are the prerequisites for HTTPS connection?
I'm looking for some sample. Please share any sample if you have.
Thanks,
Shylaja.
|
|
|
|
|
Hai Shylaja,
I have been looking for similar solution but on different grounds, and also posted a Question on to the forum and found no answer. I need to Communicate to a website on HTTPS and supply some login information and Emulate the Login Button click on the Server it self. i was able to achive it on the local machine but on the remote it says Authentication failed. Any ways ...
All i can suggest you to look into HTTPWebRequest and HTTPWebResponse classes and do some research and you might get it done. there are few good articles on CodeProject like "How to use HTTPWebRequest and HTTPWebResponse". search for this you will find it i Hope this will serve the purpose....
Regards,
KSS
|
|
|
|
|
I have to compare two database files on two servers for the differences between their objects like tables, stored procs. I just need to know if there are differences, and dont need to check the syntax or anything.
For the time I just need to know how to pass in the names of the server and database into a form and then passing them to sql server to get access to the mdf files to compare them.
I have tried to find stuff on google but cant really get any direction at all.
OnlyHuman23
-- modified at 5:08 Thursday 23rd March, 2006
|
|
|
|
|
I am using a class library and executing as a console application,in a paticular i want to open a website automatically through the class file,help me how to do this.
ALL THE BEST
|
|
|
|
|
|
Thank U So much Deepak it's working.........
ALL THE BEST
|
|
|
|
|
My database is Oracle 9i.I use Dataset and procedure .
when I use the method-UpdateDataset,it return an error.
it shows that "Parameter 'P_Addresses': No size set for variable length data type: String.". "P_Addresses" is my parameter.
Can someone help me?
|
|
|
|
|
Without seeing your code, I am thinking it might that you didn't set the amount of memory the string should take up. For example, you are using a DBCommandWrapper object and wish to set an IN parameter using AddInParameter. You need to set name, type and size. Of course without seeing your code, I am only guessing.
Mike
|
|
|
|
|
Hi i got a task to do, its about a model weiwer.
I want to show .m2 format in a window that is in a form and i have no clue on how to do this.
I am a beginner with C# and i wonder if i could get a hint on how to do or how i can make this to work.
This is one of those files i want to wiew
http://rapidshare.de/files/16168136/DragonOnyxia.m2.html[^]
So what i want to know is how i can read and show this model in a windows form.
Thx and regards;)
//Rickard
-- modified at 8:38 Thursday 23rd March, 2006
[EDIT] I would even pay if someone could help me with this!! [EDIT]
|
|
|
|
|
Well, I cannot view the file here, but I can suggest that if this file is output from a modelling tool then the first place to start is with the vendor. They may have an API that handles the drawing or file access for you. If that doesn't work, they may have a descriptor file that tells you how to process the data inside the file. Then you would have to roll your own file processor and implement the drawing within the Paint method of a panel.
If you are real fancy, you can create your own user control and then all you have to do is expose a property that would get the file to display, and all of the above roll-your-own code is then encapsulated within the control. That makes your final product more flexible.
Hope this helps. That will be $20.
|
|
|
|
|
|
|
I'm doing a custom install action program which is designed to implement the just-copied DLL's in the GAC. The DLL compiles without a problem. The install program compiles without a problem. No warning for either program. Yet when Setup goes to execute my DLL, it says the DLL or one of its' dependants cannot be found. (sigh) I even verified that the install project is packaging the DLL and its debug package correctly and it is. I'm at a loss. Here is the code I've deployed:
using System;
using System.ComponentModel;
using System.Configuration;
using System.Configuration.Install;
using System.Diagnostics;
using System.IO;
namespace RegisterComponent
{
[RunInstaller(true)]
public class RegisterComponent:Installer
{
string dllPath;
#region ..ctor Implementation
public new void Dispose()
{
this.Dispose(true);
GC.SuppressFinalize(this);
}
public new void Dispose(bool disposing)
{
if (disposing)
{}
base.Dispose(disposing);
}
#endregion
#region Custom Install Actions
public override void Install(System.Collections.IDictionary stateSaver)
{
try
{
this.dllPath = this.Context.Parameters["parm"];
System.Diagnostics.Trace.WriteLine("Saving the Path of the core components", "RegistrationInstaller");
stateSaver.Add("Path", dllPath);
System.Diagnostics.Trace.WriteLine("Performing the base install", "RegistrationInstaller");
base.Install (stateSaver);
System.Diagnostics.Trace.WriteLine("Creating the file for GAC registration", "RegistrationInstaller");
using (StreamWriter gacutil = File.CreateText(dllPath+"install.cmd") )
{
gacutil.WriteLine("Echo off");
gacutil.WriteLine(@"PATH C:\Winnt\Microsoft.NET\Framework\v1.1.3705");
gacutil.WriteLine(String.Format(@"gacutil /ir FILEPATH {0}\Components\plcorecommon.dll ""Common Methods 1.1""",dllPath));
gacutil.WriteLine(String.Format(@"gacutil /ir FILEPATH {0}\Components\plcoredbclient.dll ""DB Client Methods 1.1""",dllPath));
gacutil.WriteLine(String.Format(@"gacutil /ir FILEPATH {0}\Components\plcoreweb.dll ""Remote Methods""",dllPath));
gacutil.WriteLine(String.Format(@"gacutil /ir FILEPATH {0}\Components\plcorewebdb.dll ""Remote DB Methods""",dllPath));
}
System.Diagnostics.Trace.WriteLine("Starting the process to register the GAC", "RegistrationInstaller");
Process install = Process.Start(String.Concat(dllPath, "install.cmd"));
install.WaitForExit();
install.Close();
System.Diagnostics.Trace.WriteLine("GAC Registration complete.", "RegistrationInstaller");
}
catch (Exception e)
{
string msg = "Error creating/running GAC utility bat file: " + e.Message+System.Environment.NewLine
+ e.StackTrace;
this.Context.LogMessage(msg);
}
}
#endregion
#region Uninstall Actions
public override void Uninstall(System.Collections.IDictionary savedState)
{
try
{
dllPath = savedState["Path"].ToString();
using (StreamWriter gacutil = File.CreateText(dllPath+"install.cmd") )
{
gacutil.WriteLine("Echo off");
gacutil.WriteLine(@"PATH C:\Winnt\Microsoft.NET\Framework\v1.1.3705");
gacutil.WriteLine(String.Format(@"gacutil /ur FILEPATH {0}\Components\plcorecommon.dll ""Common Methods 1.1""",dllPath));
gacutil.WriteLine(String.Format(@"gacutil /ur FILEPATH {0}\Components\plcoredbclient.dll ""DB Client Methods 1.1""",dllPath));
gacutil.WriteLine(String.Format(@"gacutil /ur FILEPATH {0}\Components\plcoreweb.dll ""Remote Methods""",dllPath));
gacutil.WriteLine(String.Format(@"gacutil /ur FILEPATH {0}\Components\plcorewebdb.dll ""Remote DB Methods""",dllPath));
}
Process uninstall = Process.Start( String.Concat(dllPath, "install.cmd") );
uninstall.WaitForExit();
uninstall.Close();
base.Uninstall (savedState);
}
catch (Exception e)
{
string msg = "Error creating/running deregistration bat file: " + e.Message+System.Environment.NewLine
+ e.StackTrace;
this.Context.LogMessage(msg);
base.Uninstall(savedState);
}
}
#endregion
}
}
Help!!
|
|
|
|
|
theRealCondor wrote: gacutil /ur FILEPATH {0}
That variable should be surrounded by % % ie %FILEPATH% given it exists.... (i assume you define it somewhere).
What happens when u run the file you have just created?
And turn echo on if you debugging, unless you like doing stuff blind.
|
|
|
|
|
leppie,
Sorry, I missed a rather significant part to the problem. The error I'm getting is that my dll itself is not found by MSI. The packager copies the RegisterComponent.dll file into the package, but when the installer runs it reports that it cannot find RegisterComponent.dll or one of its' dependancies.
The FILEPATH keyword is a part of the /r option of gacutil so since it is not an actual variable, the % signs are not needed.
So bottom line is that the dll is never getting run. My latest try : strong-naming the dll : did not help me either and I'm totally puzzled by this! I've written several custom installers and I've never had this problem!
But I've also noticed that when I installed Google Web Accelerator it never was able to cache anything on my machine and always reported 0.0 time saved. (while on my home machine that I control, it began working with my first page) So now I'm wondering if I have a weird security issue on this machine that is preventing the installer from writing to disk???!!!
I am at a loss right now.
|
|
|
|
|
Hello everybody.
iam currently using an application that reads text to speech from a rich text box but what i want is the following:
RTL languages are not supported for reading i just need to know how can i differentiate between the english line of string from other languages ?how can i do that!!!
Any one has solution please don't hesitate to help me
Thanks everybody.
Human knowledge belongs to the world.
|
|
|
|
|
Control.RightToLeft i would assume. But that would cover the whole TextBox/Control, not sure about lines...
|
|
|
|
|
hello every body... i am interested in building up an ftp client but the problem is that i don't know how to connect to an ftp client and know which files are available for download and then how to download that file...
please provide help, ie a piece of code and a bit explanation and also provide with links from where i can get help
haseeb
|
|
|
|
|
Do a search in the articles here for ftp and limit it to c# / .net
Ed
|
|
|
|
|
hello my friend .
All you have to do is to connect to the ftp server using its ip address and the common port of any ftp server which is 21 by the following piece of code
<br />
byte[] readbytes = new byte[1024];<br />
IpEndPoint ftpEndpoint = new IpEndPoint(IpAddress.Parse("Ftp server ip address to parse"),(Int32)21);<br />
TcpClient currentftpclient = new TcpClient();<br />
currentftpclient.connect(ftpendpoint);<br />
currentftpclient.BeginRead(readbytes , 0 , readbytes.Length,null);<br />
From that code you are able to connect to the given ftp server and begin asynchronous reading and writing to that ftp server then what you all have to do is :
to pass to the ftp server normal ftp client commands that deals with file structures and enumerations.
Like Dir
get
put
and quit
and each time the ftp server will respond to your client with specific response you have to parse that response to know the actual response of the ftp server for example
in dir command
to list all current files in the current folders
the ftp server will send you all files in binary with all of their attribbutes.Then you will have to parse these binary data to its actual ASCII values and you are done.
You can google for Ftp Client commands .
And you will get the answer there
Thank you i hope it may help You.
Human knowledge belongs to the world.
|
|
|
|
|
Hello,
I'm trying to use transparency colors on images with .NET CF 2.0. I am using the SetColorKey method of the ImageAttributes with the Color.Magenta as mask. On the .NET Framework, it works fine, the mask is applied, but on the .NET CF, I can see that the mask color has been replaced by the black color. So, how can I handle transparency colors on the .NET CF platform??? Can somebody help me?
Thanks for the help.
Best regards.
Fred.
There is no spoon.
|
|
|
|
|
Hi,
I hope this is the right board for this (my first post here at codeproject).
I have a DataSet containing three Tables: address, country and project. There are two DataRelations defined. One address points to a country and some projects point to one address. I trying my luck with a lot of data binding, so I use some label controls to show the entries of one address.
For example:
myLabelAddressName.DataBindings.Add("Text", myDataSet.DefaultViewManager, "address.name");
To show all related projects in a listbox I use:
myListboxProjects.DataSource = myDataSet.DefaultViewManager;<br />
myListboxProjects.DisplayMember = "address.RelationAddressToProjects.projectnumber";
To control the actual data row to be displayed, I use a CurrencyManager:
CurrencyManager curr = (CurrencyManager) this.BindingContext[myDataSet.DefaultDisplayManager, "address"];<br />
curr.Position++;
This works quite fine so far, but now comes the problem. What do I do, if I want the correct country for every address being display (data bound) to another label? Remember, in this case the country table is the master and the address is the child.
I would think of something like this:
myLabelAddressCountry.DataBindings.Add("Text", myDataSet.DefaultViewManager, "address.RelationAddressToCountries.countryname");
The problem simply is, that I cannot create the relation RelationAddressToCountries, since there is not an address to every country, which would be mandatory. Can I somehow use the relation from countries to addresses backward?
Greetings,
Bob
|
|
|
|