|
Zilo(svk) wrote: Done the same, didn't help
So you see the BackgroundColor of your Form right now?
Then I'm sorry for wasting your time!
Hope somebody helps you out.
All the best,
Martin
|
|
|
|
|
yep
Don't be sorry, thanx for your time.
|
|
|
|
|
I'm facing exactly same problem. I just doesn't work on some PC's (with XP SP2) . If u find any sollution I would be very gratefull . I was thinking that it is caused by some settings of desktop... anyway, it causes me big headache
|
|
|
|
|
I have tried both 32 and 16 bit color, doesn't change anything on my PC. I will go see if it changes something on the ones that do not work.
Its strange that there is no posting from MS on this, maybe we should post it on their newsboard. If I find a solution I will post it here.
Good luck,
Dmitry
|
|
|
|
|
I've tried to go from 32 to 16 bit and it helped!!! But it looks that it's diffrent from one PC to another... And using MakeTransparent didn't help at all...
|
|
|
|
|
I have 4 quaries .
Last 3 quaries depends on the first one so i have created 4 dataAdapter and want to use this with single DataSet,So that it can be Bind with a single datagridView.
Is it possible that i can bind more then one DataSet in a single datagridView.
dinesh
s/w engg.
9891981008
|
|
|
|
|
If you are using NET 2.0 version then create a typed dataset and add as many table adapters as you want and use the same process if you want to go for dataset also
And for the next query "Is it possible that i can bind more then one DataSet in a single datagridView"
datagrideview takes data source as either data table from a dataset not entire dataset !!
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
Hi,
I'm looking for some tutorial how to handle COM objects in C#. I've found good articles about how to create COM objects in C#, but couldn't find any about using those objects (whether created in C# or C++ , doesn't matter). Thanx (for link )
PS: I know that there is COM forum, but I didn't get any answer for 5 days there.
|
|
|
|
|
It's quite simple. Assuming that you are using Visual Studio:
- select your project in the Solution Explorer
- choose Add Reference
- in the dialog that open select the COM tab
- choose your COM object and click OK
VS automatically creates a .NET wrapper for the COM object that you can use from your code. One drawback of this method is, that this wrapper has no signature.
If you need a strong named wrapper, you can use the tool TlbImp.exe. Its use is well documented in the MSDN.
Regards,
Tim
|
|
|
|
|
Hi,
Yes I'm using VS 2005 Express...
The COM-object I created is not among all COM's in COM Tab (in diffrent project). Do you have any idea why? (When building that object I checked Register for COM interop in Properties->Build and I also created strong name object using sn.exe utility... )
thanx
|
|
|
|
|
Sorry, I've never written a COM server in C#. All my COM objects are 'older' unmanaged code that is used from within C# projects.
Generally all COM objects must be registered on the PC before they can be used. And all registered COM objects should be listed on the COM tab. Therefore I guess, that your COM server is not registered properly yet. But this is just a guess.
Have you already tried to use your COM object from some other (unmanaged) code?
Regards,
Tim
|
|
|
|
|
No haven't but I'm planing on that. First I wanted to try this all under C# and VS2005, thought that it would be easy, than go to C++ , create COM and use it in C# same way as COM created in C#...
|
|
|
|
|
I've tried TlbExp.exe and opening COM object with browse button or registring that COM dll using Regasm.exe and still no luck...
|
|
|
|
|
|
If you are checking Session["userId"] on every page to be valid, then the user may not be able to go back and use the pages by clicking on IE Back button
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
I want to mask the text for identifying the corrent syntax of IP address
example
10.179.10.28 // is correct
10.567.7889.7. // is incorrect
how to identify the incorrect one.
vivek
|
|
|
|
|
Hello,
A quick validation would be to split the string (string.Split('.')) and chek if the elements of the array (return value of Split method is string[]) are not longer than 3 characters.
Additionaly you could also check the Length of the string[].
Hope it helps!
All the best,
Martin
|
|
|
|
|
Hello again!
Here I found a very nice solution with regex!
public bool IsValidIPAddress(string ipAddr) {
string pattern = @"^([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3}$";
Regex reg = new Regex(pattern, RegexOptions.Singleline | RegexOptions.ExplicitCapture);
return reg.IsMatch(ipAddr);
}
http://blog.devstone.com/Aaron/archive/2006/03/29/222.aspx[^]
All the best,
Martin
|
|
|
|
|
i am using C# 2003 in my project i need to convert the Doc file into html how can i convert it using C# and ASp
dinu
|
|
|
|
|
I don;t know the exact answer but this might help you ...
Create MS Word object
use the save as method of MS Word object, pass html as parameter
Hopefully this should be the approach
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
This is probably the only way, however I believe it is really a bad practice!
It relies that a correct version of MS Office with MS Word is installed by user, and depends on the interface provided by that specific version. I don't think there is another way however, since DOC format is proprietary, and theoretically only Word engine should know how to parse it.
|
|
|
|
|
I agree but thats the way you will have to tackle this problem else u might have to write some by yourself to parse a doc.
All the best !!
Let me also know if you tackle this problem
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
Does open office provide automation? I'm not sure what the OO licence says about bundling with non OSS apps though so this might not be an option.
--
CleaKO The sad part about this instance is that none of the users ever said anything [about the problem].
Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
|
|
|
|
|
I really didn't get what you have mentioned above. Could you be bit clear so that I can also understand?
Thanks
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
Hi All
I am Anil working on C# Asp.net , I need to genarete Dropdownlistbox dynamically and also fill it dynamically ,and i need to accept selected value in all dropdownlistbox to server side code
for doing this i used nested repeater ---- in this parent repeater generate Dropdownlist box and child repeater is used to fill the dropdown with corresponding record's
----------in this parent repeater work finelly but child repeator not work
----- i am attach this such code below plz see
<asp:repeater id="ProductOptionsRepeater" runat="server" enableviewstate="false">
<headertemplate>
Product Options
<itemtemplate>
<%# DataBinder.Eval(Container.DataItem, "VariantName")%>
<asp:repeater id="ProductOptionsRepeater1" datasource="<%#((DataRowView)Container.DataItem).Row.GetChildRows("myrelation") %>" runat="server">
<headertemplate>
<asp:dropdownlist id=" <%# DataBinder.Eval(Container.DataItem, "VariantName")%>" runat="server">
<itemtemplate>
<asp:listitem value="<%# DataBinder.Eval (Container.DataItem, "[\"VariantSurcharge\"]")%>">
<footertemplate>
if any alternative solution then also tell me
Thanks Regard's
Anil Jagdale
|
|
|
|