|
ok so its resolved. yay. i dint have the write permissions on the folder i was uploading to.
|
|
|
|
|
hello
i want to hide my IP, when I connect from client windows app to a web service.
i can go through a proxy very easily like
MyMath.Math math = new MyMath.Math();
IWebProxy proxyObject = new WebProxy("http://proxyserver", true);
math.Proxy = proxyObject;
but how can i make a chain of proxies?
thanks
|
|
|
|
|
IIRC, you can only specify the first "hop" proxy. Your other downstream proxies would have to be configured to forward the request on their own.
But why would you even want to do this anyway?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Is there such a conversion? I would like to use DateTime as part of a unique identifier. I could create a number by appending year + month + day + hour + minute + second + ticks, but i am hoping i could access the number representation of DateTime like i could in VB6.
|
|
|
|
|
Use the Ticks property.
---
b { font-weight: normal; }
|
|
|
|
|
The ToBinary() method will return the DateTime 's numeric value.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
Both advice is good.
Thanks for the "kick" in the right direction!
|
|
|
|
|
Hello, everyone. I think this is my first post on these forums, but I've been a member for a long time. LoL.
Anyhow, I'm currently developing a C# application that uses a MS Access database. I use VS .NET 2003 Pro.
Well, I just wanted to know what files, etc., I would need to include if I distribute the application. Like, the .NET Framework, etc. How would I go about doing this?
Thanks in advance,
Matt U.
|
|
|
|
|
For the C# aspect you need just the .NET Framework and any other assemblies you use, e.g. UI Controls or libraries.
For MS Access you may get away without having to install anything as I seem to remember somewhere, a long time ago, coming across something that by installing the .NET Framework you get the required capabilities, either by .NET including them or by .NET requiring them (I can't remember). But don't take my word on this
Depending on how you're distributing this depends on how to package it. If on CD / Physical something or other then you can put a copy of the .NET framework on the media with your software installer.
If by internet then just have an installer which installs you program, checking for the .NET framework (or at least saying it's a requirement) while / before installing. If you're considering NSIS then take a look at the source for the #develop NSIS installer, this has a startup check for the .NET framework. If the user doesn't have netfx (.NET Framework) installed then direct them to http://msdn.microsoft.com/netframework to download their own copy. (If you're feeling really adventurous then you can use NSIS to download the .NET Framework for them, install it and delete the temporary files ).
Ed
|
|
|
|
|
As long as you are not using external libraries to connect and alter the database, then you have been working with ADO.NET which is built into the .NET framework. I have a program myself that uses OLEDB adapters that are built into the ADO.NET part of the framework and the program works fine on all computers that I have tried it on.
Regards,
1tg46
Check out 3D Game Development with Dark Basic Professional [^]programming.
|
|
|
|
|
Hello all
I have implemented the copy paste funcationality for PDA Application.
I have 2 textboxes, if i selects some text from textbox1 and copies to clipboard and wants to paste in second textbox texbox2.
in this situation how to identifies the cursor location and paste the data.
anybody any sounds
appriciated
regards
GV Ramana
|
|
|
|
|
I take it PDA's dont have the GetMousePos API that you could call?
Regards,
1tg46
Check out 3D Game Development with Dark Basic Professional [^]programming.
|
|
|
|
|
Hello!
Assume this: I got two classes, namely CContainer and CItem . The container class declares a list of items like this:
private List<CItem> = new List<CItem>();
It fills this list somehow and offers a function like
public CItem GetItem(int nIndex);
This function returns the item at nIndex. The problem now is: how do I prevent the caller from modifying the returned CItem ?
In C++ we just put the const keyword into the declaration to achieve this. Any way to do it in C#? Is there a corresponding keyword?
Thanks in advance and best regards
Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
(doesn't work on NT)
-- modified at 14:01 Saturday 18th March, 2006
|
|
|
|
|
Why would you like to prevent the calling code to moddify the return value?
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Have you considered having the GetItem() function simply return a clone of the Item so that if it gets changed, it doesn't matter?
Rich
|
|
|
|
|
There is no language support for C++ like const functionality. Having said that, you could declare CItem as a value type, this would result in a copy being returned to the client. Or you could clone the object yourself and return it to the client.
Regards
Senthil
_____________________________
My Blog | My Articles | My Flickr | WinMacro
|
|
|
|
|
hi all !
datetimepicker get the christian date on my PC .however , How can I get the Arabic date from my System ( PC ) with the using of datetimepicker control.
thanks a lot .
Regards ,
s_mostafa_h
|
|
|
|
|
You'd need to change the culture of your program to an arabic one me thinks. I don't think there's away of using the standard datetimepicker to use a different calendar to the thread's culture.
However I havn't investigated
Ed
|
|
|
|
|
I noticed that when I run some Dotnet programs the icons in the background (XP desktop) flicker regularly.
I tried to find out what is happening and I managed to reproduce the problem with five lines of codes.
I hope someone will be kind enough to test that on their machine and tell me if they reproduce it or not.
You just need to
1 - create a new Windows Forms application.
2 - add a numericupdown control in the middle of the form
3 - set the numericupdown1 maximum to 1000
4 - Add the paint event for the form :
private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
for (int i =1 ;i< numericUpDown1.Value;i++) {
e.Graphics.DrawLine(Pens.Red, 10 + i, 10, 10 + i, 10 + i);
}
}
5 - Add the value changed event on the NumericUpDown1
private void numericUpDown1_ValueChanged(object sender, System.EventArgs e)
{
this.Invalidate();
}
Then when you click on the NumericDown control and reach 150 (on my machine) the icons on the background are starting to refresh...
Do you reproduce that ?
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Just checked it with .Net 2.0 and I have no flickering. I also can't remember that I noticed such a thing sometime in the past...
|
|
|
|
|
I think it must then be related to some other software I have installed.
thanks for you time
|
|
|
|
|
Hello!
I don't know if it is really possible, I have searched the internet for a solution, and haven't found anything... The problem is that I need to open a dialog of the Outlook of sending mail...
Any help will be appreciated!
Thanks in advance!
|
|
|
|
|
I found this tool on the internet, perhaps it would help
[^]
ADX Toys .NET is a free sample Outlook add-in /plugin that adds two useful features to Microsoft Outlook. This plugin allows you to examine real Internet headers and the body of the selected message. The add-in shows how to create custom command bars for Outlook Explorer and Outlook Inspector, get access to Outlook objects and add custom option and property pages. Also, this add-in illustrates how to use Extended MAPI to avoid Outlook security alerts.
|
|
|
|
|
Thank you very much!
Have a nice day!
|
|
|
|