Hi All,
I need to reinvent/recreate the Label Control from scratch to add my own mojoness to it. Yes, I know what you're thinking (and if you're not thinking that, shouldn't you be?).
Can somebody point me in the right direction?
Thank you.
The whole purpose for recreating the label is that I want full control over how it is drawn on...
Are there any overheads to using the following sytax:
Form1 myForm = new Form1();
myForm.Show();
As opposed to:
Form1 myForm;
myForm = new Form1();
myForm.Show();
When I was learning VB6, I was told doing the quivelent in VB had an overhead - is the same true in .NET?
...
Ok I'm very new to databases and C# in general, but I'm using a piece of code that exports dataset data to an Excel file, and its taking issue with the date/time format. I'm using the MySQL connector so the rowtype is MySql.Data.Types.MySqlDateTime. Is there any quick way to convert it into System.DateTime so I can slot it straight into ...
I need to add the following items to a combo box.
Value DisplayText
Mpost Posted
Call Calling
RScan Re-Scan
These items are fairly static, and is not retrieved from any database... Hence thought of assigning these in design time itself.
I'm Unable to use Items property as it asks only one value per i...
I need a good memory profiler for .net, it would be ideal if it shown types of objects currently loaded in memory. Usually I use DotTrace but it does not seem to show object types.
...
Hi ,
I want to build .NET solution using batch file.
I am aware that I need to use following statement
devenv /build release "D:\Source Code\Source\test.sln"
But I do not know how to create batch file which will execute on VS command prompt.
...
Does "-eq" in Powershell test reference equality (like "==" in c#) or does it do the equivalent of calling Object.Equals()
...
I'm generating the RDLC XML schema and showing the report in the ReportViewer control. No problems there.
Now, I want a report with 2 tables, with 2 differents dataset.
Something like this gets generated:
<Body>
<ReportItems>
<Table Name="Table1">
....
</Table>
<Table Name="Table2">
...
How can i use "ClearCanvas.Server.ShredHost" to get all images on my servers?
...
Hi,
I would like to know what happens between window contructor and window loaded event. The reason why I'm asking is because I wrote a code like this:
LoadUnmanagedLibrary lib;
public Window1()
{
InitializeComponent();
lib = new LoadUnmanagedLibrary(this);
}
private void Window_Loaded(o...
I have a LiveCycle designed PDF that I want to make its submit button send the XML data in the form to a .NET webservice. I see how to do that, but I'm not really clear on the webservice side. What should my webservice's method signature be to accept the XML data?
[WebMethod]
public bool RecieveXML(XmlDocument input)
or
[WebMethod]
...
Hello,
I'm looking for a way in C# to search a string for the file and it's extension. So for example if I have a string "//houtestserver/common/file1.pdf" how can I set another string to file1.pdf?
Thanks everyone in advance
...
I have a project in Visual Studio 2008 using the .NET 2.0 framework. When I build the project I get two build errors showing as red crosses, but the project still builds successfully. Even more strangely, the errors are in System.Double.cs. The error is "Floating-point constant is outside the range of type 'double'" and they point to the...
Good day,
I'm almost finished with my .net project implementation of a new design. But I'd like to try it with Firefox before releasing it.
When I debug the project it creates an URL with "http://localhost/rest-of-url" and it opens IE and I can see the site. But when I copy this URL to Firefox it won't load the CSS at all. Is that a pro...
I Write a Windows Application By C Sharp.
I Use a Picture in Background of my Form (MainForm) And I Use Many Picture in Buttons in This Form,And also I Use Some Panel And Label with Transparent Background Color.
My Forms,Panels And Buttons has flicker. I solve this problem by a method in this thread.
But Still when other Forms Start ove...
I am writing a ClickOnce WPF app that will sometimes be used over VPN. The app uses resources available only to domain authenticated users. Some of the things include accessing SSRS Reports, accessing LDAP to lookup user information, hitting web services, etc.
When a user logs in from a machine that is not authenticated on the domain,...
I have set myself upon a journey to educate my coworkers (all have accepted my mission, even the boss).
Every day I seem to find a piece of code that could have been less error prone if my coworkers knew more about the framework, better-know-framework (in courtesy of DNR ;)) is part two of my teaching process. First part is teaching my c...
Is there a utility to combine querystrings? I'm looking for something like:
Input: Combine("test=a&test2=b", "test3=c") Result: "test=a&test2=b&test3=c"
Input: Combine("test=a&test2=b", "") Result: "test=a&test2=b"
Input: Combine("", "test3=c") Result: "test3=c"
And maybe some weird ones:
Input: Combine("&test=a&test2=b", "?test3=c"...
I have an ASPX page that is sometimes loaded into an iFrame in my application and sometimes not. From the code behind how can you detect if your page is being loaded from an iFrame.
...
I've noticed in a recent article on TDWTF that someone was using the variable name lsSQL . I have also noticed similar variable names in a legacy application I am working on and in other places around the web, but I have never found out what the ls prefix stands for.
What does ls mean? What kind of notation is that?
Thanks,
Tom
...