|
I think the only way to get an accurage measurement is to actually send something over the pipes.
You could factor in things like network card capabilities, or the type of connection (modem? LAN? VPN? etc.). You could also remember previous transmission speeds and use that for a guesstimate.
There are also web services available to test your connection speed. Of course, these services simply send something across the pipes to gather the speed information.
|
|
|
|
|
my report is about selecting something with a date margin... meaning between 2 dates... i just to inert these two dates into my report dynamicaly... can someone(well everyone) help? thx ahead
M.M
|
|
|
|
|
I don't think you've provided enough information to receive a meaningful answer.
What exactly are you having trouble with? Do you need help with getting this date margin? How to store it? How it insert it into your report?
|
|
|
|
|
use crytal report selection formula
do or die but never be shy
|
|
|
|
|
1st i wanna thank u for ur help...
i have to issues at hand that i need to setle:
1- i have a crystal report that displays records selected from a DB within a date margin meaning between 2 dates. these two dates are inputed from the UI, what i want is to include these 2 dates on my report in a certain field as header or whatever...
2- is it possible to dynamically remove(at run time) a certain field that i have in my report.. i have initialy 4 fields, i want to remove a certain field is it possible.
Thank you
M.M
|
|
|
|
|
I didn't see this in any of the forums, so I am posting a new message.
I am trying to view a designer (UI) of a form in my project. The UI doesn't open and I get this error "The control System.Windows.Forms.TabControl has thrown an unhandled exception in the designer and has been disabled".
I haven't been able to find much seaching the web, Code Project or dnzone.com.
Anyone experience this problem before?
|
|
|
|
|
Many times. Easiest way to fix this is described here[^].
|
|
|
|
|
Thanks. I tried that. It says something about a file not being found, but doesn't tell me what its name is. How do I find that out?
|
|
|
|
|
If you did it correctly, the debugger should break when the file is not found. Simply investigate the line it's crashing on - what method call is failing, and what arguments are you passing to it?
|
|
|
|
|
Still didn't work as initially planned, but I was able to get some information out of the Visual Studio error message after clicking the Debug button.
FusionLog:
=== Pre-bind state information ===
LOG: User = SYSSOFT\mta
LOG: DisplayName = MPSAPI, Version=0.12.10.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe.Config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
Message:
Could not load file or assembly 'MPSAPI, Version=0.12.10.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
StackTrace:
at QVI.ICE.Core.VideoWindow.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()
The MPSAPI.DLL is added as a reference so it must be something that DLL depends on.
Thanks for your help Judah.
|
|
|
|
|
Ok, the MPSAPI may be the problem. Are you calling into this MPSAPI dll in your constructor anywhere?
|
|
|
|
|
The other error I get when trying to open the UI is...
The control System.Windows.Forms.TabControl has thrown an unhandled exception in the designer and has been disabled.
I tried to included the snag-it capture of the message box, but it doesn't look like that can be done on this site.
StackTrace:
at System.Windows.Forms.TabControl.UpdateTabSelection(Boolean updateFocus)
at System.Windows.Forms.TabControl.OnHandleCreated(EventArgs e)
at System.Windows.Forms.TabControl.WndProc(Message& m)
|
|
|
|
|
I got it to work one time so far.
This is where it's failing to find a file....
~VideoWindow()
{
}
No arguments and no code.
|
|
|
|
|
Perhaps it's not important, but can I ask why you have an empty destructor in your C# code?
|
|
|
|
|
Can anyone link me to a good article/resource explaining how to marshall different data types, specifically from C++ to C#. I'm trying to marshall some stuff going to/from a DLL.
|
|
|
|
|
There are several articles on this site detailing how to do this. Basically, for standard exported C functions, you can use P/Invoke. If you're interesting in interoping with C++ classes things other than standard C exported functions, you'll probably want to write a wrapper for the C++ classes in C++/CLI, which can them be called natively by C#. (Again, check the articles on this site for info on C++/CLI interop with C#)
|
|
|
|
|
there seems to be some code to operate the registrykey(add a key in "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"),but how can I use these codes or where can I use them in the deployment project. and in the deployment project,there is also registry management in the deployment,can I set the attributes to implement the executing of the application when turning on the computer.
joypain
|
|
|
|
|
I think you answered your own question there... The Deployment project's registry editor.
|
|
|
|
|
I add a new item in HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\
CurrentVersion\Run,and then I add a key, and set the key value to the path of the application,can it work?
by the way how can I get the path of the application in the registry editor and write it to the keyvale?
joypain
|
|
|
|
|
Looking at the properties of the Application Folder in File System, the default location is probably something like this...
[ProgramFilesFolder][Manufacturer]\[ProductName]
which is equal to this...
[TARGETDIR]
I don't know of a way to get the EXE's name, but you should know what that is anyway. So add your reg string with a value like this...
[TARGETDIR]myExe.exe
|
|
|
|
|
"[TARGETDIR]" works!
I've been searching on the internet and msdn for a few days to solve the problem.Thank you for your guide!
joypain
|
|
|
|
|
Sure. I wish I could find a list of all the variables that are available, but those are the only 4 I'm aware of. That may be all of them.
|
|
|
|
|
I computer use XP ,I want to my program interface can cover the XP system deskface. how can I do ?
|
|
|
|
|
|