|
dan neely wrote: did you trial and error this, or find something explaining it online?
Trial and error. My first try was to put a leading zero. Unfortunately, it returned numbers like 023.4, so I tried putting it at the end. Voila! After that, it didn't take too many brain cycles to figure out I should put a zero after the decimal point for the fractional part.
Cheers,
Vikram. "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton.
|
|
|
|
|
This one has confounded me, so I guess I'm not putting the correct terms into the search engine.
We have recently upgraded a server from Windows 2000 to Windows 2003 Advanced Server. After the initial problems of getting ASP.NET working under the new improved security model the problems continue.
Part of the system sends batch jobs off to the Windows Task Scheduler. Some jobs are running okay (but they are not .NET applications), however all the .NET applications seem to be having problems running through the task scheduler. The first sign of a problem was one application that failed instantly before it even got as far as creating its log file (which is more or less the first thing each of these applications do). Other jobs just sat in the task scheduler with a status of running. (I should add that they also should have failed instantly becuase I tell it to use an input file that doesn't exist, but they should have produced a log file) Meanwhile the Event Log had two error messages:
The application-specific permission settings do not grant Local Activation permission for
the COM Server application with CLSID {73B25FFD-F501-437B-8B11-7F0DE383964F} to the user
DOMAIN\user_account SID (S-x-x-xx-xxxxxxxxx-xxxxxxxxxx-xxxxxxxxx-xxxx).
This security permission can be modified using the Component Services administrative tool. After some searching on the internet I found that it refers to the Debugger. So I added the user to the Debuggers group. And now all I get is one information message in the event log.
Application popup: JIT Debugging :
JIT Debugging failed with the following error: 0x800405a6
Please check the documentation topic 'Just-in-time debugging errors' for more information. Well, the problem is that I cannot find a document that refers to .NET 1.1. I did find some blogs and forum posts that bemoaning the fact that the documentation was crap.
Does anyone have any ideas?
Summary:
Migration from Windows 2000 Server to Windows 2003 Advanced Server
.NET 1.1
The server also acts as a domain controller
ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?
-- modified at 9:47 Tuesday 21st February, 2006
|
|
|
|
|
I can successfully capture the ENTER key that a user presses in a combo box, but my desktop always plays a "ding" when the ENTER key is pressed - as if the key is not valid in the context of a combo box. Does anyone know how to prevent this annoying ding from being played?
Darryl Borden
Principal IT Analyst
dborden@eprod.com
|
|
|
|
|
how to pass a textbox value into the report in c#
|
|
|
|
|
What report?
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Do you mean the text inside the textbox? If this is the case, use TextBox.Text property.
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
yes. how to match the textbox value with an sql expression field ?
|
|
|
|
|
What exactly do you mean? Build an SQL query using the value from a TextBox??
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
hai guys i want text message to be scrolling on in my form from one end to the other.this is c# windows application. pls give me the solution.
|
|
|
|
|
You could use a timer and at different times, draw the text message at a different location on the form. With a little thought and research into timers and drawing text this should be easy to figure out.
Deus caritas est
|
|
|
|
|
Hi
I’m trying to view a crystal report on web but no luck. I can load the report I just can see it on the browser. Please tell what I’m doing wrong and how to fix it. her is my code:
public Report(string ReportPath, string RepID)
{
string ReportName = string.Format("{0}\\{1}.rpt", ReportPath, RepID);
ReportId = RepID;
myReport.Load(ReportName);
}
public void SetSelection( string RepSelection)
{
myReport.RecordSelectionFormula = RepSelection;
}
public void ExportRepHTML(string ExportingPath)
{
string FullExportingPath = string.Format("{0}\\{1}.htm", ExportingPath, ReportId);
// Declare variables and get the export options.
HTMLFormatOptions HtmlOpt = ExportOptions.CreateHTMLFormatOptions ();
ExportOptions ExpFtmOpt =new ExportOptions();
DiskFileDestinationOptions diskOpts =new DiskFileDestinationOptions();
HtmlOpt.HTMLFileName = FullExportingPath;
HtmlOpt.HTMLBaseFolderName = "D:\\Crystalreports\\Theslectionofreports";
HtmlOpt.HTMLEnableSeparatedPages = true;
HtmlOpt.HTMLHasPageNavigator = true;
// Set the export format.
ExpFtmOpt.ExportFormatOptions = HtmlOpt;
diskOpts.DiskFileName = FullExportingPath;
ExpFtmOpt.ExportFormatType = ExportFormatType.HTML40;
ExpFtmOpt.ExportDestinationType = ExportDestinationType.DiskFile;
ExpFtmOpt.DestinationOptions =diskOpts;
// Export the report.
myReport.Export(ExpFtmOpt);
}
}
}
Thanx
|
|
|
|
|
hi all
How can i access soap protocal over the internet using sql database
Let say i am using web service
I want someone to help me
I need pdfs and code sample or site
|
|
|
|
|
Your question is not clear, please rephrase it.
|
|
|
|
|
let say i am developing a software that work over the internet
let say i am in ghana the server is in london
how can i access the server in london
if am using web service
i think is clear
i need pdfs and some sample code
|
|
|
|
|
Hi,
In my project, i need to read Sanskrit language sentence from the textbox, even i need to do some opearations on words in that sentence.
How can i read a Sanskrit sentense from textbox, pls tell me?..
Its very important for my project
Waiting 4 ur reply
Cheers
Shiva
|
|
|
|
|
Uh. I don't know exactly, but I would first change the Font of the textbox to a font that accepts the symbols (isn't it Devanagari?). With Unicode should be able to save it to a string and then do your work on it.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
Thanks 4 ur reply, i will check and respond 2 u again
Bye
|
|
|
|
|
How can save the string with unicode,...
Can u pls tell me,...
Thnx
Regards
Shiva
|
|
|
|
|
Hi,
Using a function in the datalayer the UI then receives a dataset which populates a control.
There is another function in the DataLayer which accepts a dataset as a parameter. This passed dataset is passed from the UI to this DataLayer.
In this DataLayer function, I would like to look for the changes (i.e. deleted, added, updates) row and then make those changes to the DB accordingly.
I know how to look for the changes but do not know how to compare the received dataset to the dataset that the UI received before the update.
Does this mean that the UI should pass two datasets (one with the changes and one as it was received)?
Thanks
|
|
|
|
|
hi
i want using api functions like WriteProcessMemory .
how to use that with it's own parameters in c# ???
please give me an example ?
|
|
|
|
|
|
hi,
does any one knows how to get all the names of the tables in a access mdb file?
thanks.
|
|
|
|
|
SELECT name FROM MSysObjects WHERE type = 1
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
hi to all,
does anyone knows how can change the backcolor of a statusbar control with c# winforms application
best regards and thanks in advance
fady
|
|
|
|
|
You have to overwrite the paint event and then draw the color onto the graphics object on your own.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|