|
Short of using your subnet and attempting to ping all the possible combinations, there's no easy way.
|
|
|
|
|
Hi
I am working on a desktop application using C#.NET. I am using Crystal Reports for reporting. At a certain point in application I change the culture of CurrentThread.i.e
//System.Globalization.CultureInfo abc = new System.Globalization.CultureInfo("en-US");
//System.Threading.Thread.CurrentThread.CurrentCulture = abc;
This change is reflected in the application and of course in crystal Reports. When I set the Date Format of CurrentThread.
//System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern = this.DataSet.DataTable[0]["dt_format"].ToString();//this is date format e.g dd/MM/yyy
The change is reflected in tha application but my crystal reports donot reflect any changes. How can I make Crystal Report to take effect of this change. Is there a way this change can be reflected to crystal reports as well.
Can anybody help me what I should do?
I will be really grateful.
Azif
|
|
|
|
|
i have developed a windows service.
This service updates a sql express database. On running the service, the service gets hang and the event viewer shows .sqlexpection.
Is there any way i can debug an installed service. I dont have .net ide installed in the system where service is isntalled. More over the sql express database is in another system. Can you tell me what should be the connection string, if the server name is dev-sqlx and db name is report
thanks and regards
hari
|
|
|
|
|
You'll likely have to introduce a Thread.Sleep() in the service code to give you enough time to attach your debugger to the process.
I've never tried to debug a service remotely. You can google for the connection string.
Cheers,
Vikram.
"If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy
|
|
|
|
|
i just want to activate the debugger before the service crashes.. is there any specific way in windows to activate this?
|
|
|
|
|
Put a System.Diagnostics.Debugger.Launch() call in your code where you want the debugger to start.
-----
You seem eager to impose your preference of preventing others from imposing their preferences on others. -- Red Stateler, Master of Circular Reasoning and other fallacies
If atheism is a religion, then not collecting stamps is a hobby. -- Unknown
God is the only being who, to rule, does not need to exist. -- Charles Baudelaire
|
|
|
|
|
I didn't know about this - will have to give it a try next time. Thanks
Cheers,
Vikram.
"If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy
|
|
|
|
|
how to make use of installshield in my dotnet application???
|
|
|
|
|
Member 4756709 wrote: how to make use of installshield in my dotnet application???
InstallShield help has step-by step tutorial on how to do this. Read it and you should be able to do a simple installation package. Google for the tutorial.
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
Hi,
I am using MMC 3.0 to generate snap in. I want to know how can I add menu items to the menu that is generated with a right click on the ScopeNode.
Any help will be highly appreciated.
|
|
|
|
|
Hi,
Is it possible to create a pdf document from crystal report from a windows console application( my intention is not to display the report in the application since its a console stuff but to generate and save as pdf file).
Thanks and Rgds,
PL.Seenivasan
Long Live
|
|
|
|
|
yes you can use ExportToDisk option in the console application
Regards
Shajeel
|
|
|
|
|
Hi,
I finally had done that.
Thanks a lot.
Rgds,
PLS
Long Live
|
|
|
|
|
Hi,
a few days ago I posted about my problem about applying different WPF-Styles at runtime from c#, see
http://www.codeproject.com/script/Forums/View.aspx?fid=1649&msg=2390066[^]
As I did not get an answer, I have written a sample application, which demonstrates the problem:
Download here[^]
In this example with each pressed key the Window-background should toggle between red and green, as each time the corresponding other style is applied to the Window, affecting the self-made Dependency-Property. But you can see, that only once one color is applied, depending on the default toggle setting.
I am still very thankful for any hint!
Best regards
Alex
|
|
|
|
|
|
Sir,please help me
1)how to track the files and size of the file which is present over the network(intranet).if any one transfer files from one system to another System,i want to find out the size of the file in LAN
2)Also i want to know about how to poll and node(System)connected in the network.how many systems are on-line and how many system are off-line in LAN
if you have an answer kindly please mail me
My Mail id is < nichdomni@rediff.com >
with Regards
Nicholas.R
|
|
|
|
|
hi
iam having a field(text box) in the form,which is to accept some decimal values as input.i have declared this field as float type in the database.can anyone tell me the regular expression for this field.also suggest some links for regular expression tutorials.
pintoo
|
|
|
|
|
|
it is not working out..giving some error like unrecognised escape sequences.
pintoo
|
|
|
|
|
You need to escape the characters like \. Try changing this to \\ or put @ symbol before starting string.
|
|
|
|
|
\d\[\s].?\d[[\s]
for getting folating point value
with regards
nicholas.R
<nichdomni@rediff.com>
|
|
|
|
|
Nicholas.R wrote: \d\[\s].?\d[[\s]
This is wrong.
|
|
|
|
|
Well, how about using Double.TryParse[^]?
string str = floatTextBox.Text;
double val;
if (Double.TryParse(str, out val))
{
}
else
{
}
|
|
|
|
|
I would use the Double.TryParse method, as suggested. If you really must use a Regex:
^[+-]?\d+\.?\d*$
-----
You seem eager to impose your preference of preventing others from imposing their preferences on others. -- Red Stateler, Master of Circular Reasoning and other fallacies
If atheism is a religion, then not collecting stamps is a hobby. -- Unknown
God is the only being who, to rule, does not need to exist. -- Charles Baudelaire
|
|
|
|
|
How to copy all files from one folder to another at a time in C#.net
|
|
|
|