|
Hi,
there is nothing wrong in having another thread showing a splash screen before creating
an instance of your actual application, in fact it is the way I prefer it (create and
show the splash as soon as possible, with the least amount of app code running yet,
and close it as late as possible, i.e. at the end of the main app's constructor, or in
its load event).
But I do have two remarks:
1. if the splash has to share something with the actual app, be careful to close
and syncrhonize things properly (e.g. the settings file, is your splash reading/writing
it ? closing it ? if so, did you establish a lock ?)
2. I did not like the abort you mentioned. You should not abort/kill a thread if there
are softer ways to achieve what you want (e.g. Form.Close, or setting a flag that makes
a loop terminate).
Luc Pattyn
|
|
|
|
|
|
In theory there shouldn't be a problem, but some of the IDE extensions are still in beta.
Kevin
|
|
|
|
|
Thanks Kevin.
So worst come worst, those new IDE extensions may cause crashes if I use them, but generally when i develop anything against 2.0 framework, there should not be any issues as-is.
|
|
|
|
|
|
Hiii
For testing a NMS (network management system) , we need to create virtual networks of different types having different devices such as WinXp machines, printers, scanners etc.
There are softwares available to do this, but we want to develop our own.
Any hints on what needs to be done ??
i mean how can i create virtual systems by writing some code ?? which dlls , which APIs etc ??
If you know it , Please help !!!
In God We Trust. Everything Else We Test.
|
|
|
|
|
Please do not cross-post in multiple forums.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello friends,
while acessing a SOAP Web Service am getting a error "org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize."
please tell me any solution for this...
Rgds,
Nithin
|
|
|
|
|
Hii
Seems like you are trying to pass or return data which cannot be serialized into XML . . Can you tell the signature of the Web Method which is giving you this error ??
|
|
|
|
|
Hi,
Thanks 4 ur reply.
Look Kazi,
[System.Xml.Serialization.SoapTypeAttribute("AgentCode", "http://xml/schema/url")]
public class AgentCode {
}
Above SoapTypeAttribute is one of the parameters of a webmethod in this wsdl.
How can assign value to AgentCode
Please tell me the solution
|
|
|
|
|
Hi,
Which client is using/calling this web service ? is it built in Java or .NET ??
|
|
|
|
|
Hi Kazi,
This is developed in Java J2EE environment and The SOAP Services have been implemented using Apache Axis 1.1 and their interfaces are defined via WSDL.
And me accesing this using .Net and c#
Rgds
Nithin
|
|
|
|
|
Oh
i thought it was c# and .NET !! This is the .NET forum , so . .
anywaz i have a link which miaght help you . .
http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=31741&cat=7&thread=9707&treeDisplayType=threadmode1&forum=163#31741
Best Of luck!!
|
|
|
|
|
Hi, Im having trouble finding out how to ignore installation warnings when I install my windows services in a .NET framework. I want everything to be as automated as much as possible, so I need to know how to setup the installation to ignore warnings. Is there some attributes or properties in System.Configuration.Install that I can turn on to ignore warnings? Thanks for any help provided.
Jacky
|
|
|
|
|
Hello All,
I'm running into a problem and I was wondering if anyone could help me out. I'm trying to data bind two combo boxes to one data table. I've got it to work, however when I change the selection of one combo box, the other one changes as well. I've seen a lot of documentation on how to solve this problem in the 2.0 framework, however, I've not seen any help on this topic so far.
I would like it so that the changes between the combo boxes are independant of each other (i.e. combobox1 can select item 1, and combobox2 can select item 2)
Here is my code...
C#===================================================
...In the my Page object's .xaml.cs file...
DataTable table = new DataTable("table1");
DataColumn lName = new DataColumn("FullName", typeof(string));
table.Columns.Add(lName); //Add Column to Table
//Create Row
DataRow r1 = table.NewRow();
//Fill Data For Row
r1["FullName"] = "smith, joe";
table.Rows.Add(r1);
DataContext = table; //set the Page object's Data Context to the Data Table
Xaml==================================================
<Page.Resources>
<DataTemplate x:Key="comboTemplate">
<TextBlock Text="{Binding Path=FullName}" />
</DataTemplate>
</Page.Resources>
<ComboBox Name="combo1"
IsSynchronizedWithCurrentItem="True"
ItemsSource="{Binding}"
ItemTemplate="{StaticResource comboTemplate}"
/>
<ComboBox Name="combo2"
IsSynchronizedWithCurrentItem="True"
ItemsSource="{Binding}"
ItemTemplate="{StaticResource comboTemplate}"
/>
=====================================================
Thank you in advance for your time. Also, I didn't know if this was the right forum to post this, sorry if I was wrong!
jm6k
The Jazz Master 6000
DJ Badknees
Parma Grind Crew - www.geocities.com/parmagrindcrew
|
|
|
|
|
I am by no means a WPF expert, but could it be because both of your controls have the IsSynchronizedWithCurrentItem set to True?
You might also try asking the question on MSDN's WPF forum: WPF[^]
-Phil
|
|
|
|
|
Note: I first posted this question on the Design & Architecture message board for about 4 hours, before deleting the original and recreating it here.
I am building a custom form designer in C#. I need to serialize the code compile unit, and later deserialize and reload the designer surface. I believe that I need to inherit from and implement the abstract DesignerLoader class to support custom loading of a designer and designer components. In particular, implement the IDesignerLoaderHost interface to extend a designer host to support loading from a serialized state.
To quote: http://msdn.microsoft.com/msdnmag/issues/06/03/DesignerHosting/[^], "The .NET Framework defines an abstract base class called DesignerLoader that is used to load and save designers from persistent storage. The base class is abstract so that any type of persistence model can be used. This, however, adds to the complexity of implementing the class."
I am having trouble with the "complexity of implementing the class". So, I am looking for samples, examples, snippets and / or guidance in order to get this to work as soon as possible.
Thanks in advance, Octai
|
|
|
|
|
|
Thanks very much for your reply. This example uses an XML file as the storage medium. This method works, however it seems cumbersome considering that I really don't need it in XML format because the process of serialization and de-serialization is a closed circuit in my application. I was hoping to simply use a byte array. I will review the code and let you know if I have any revelations.
All the best, Octai
|
|
|
|
|
I'll be very interested in your results.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Sir,
I have seen your article it is very nice,
I have created a windows control to use it in my web application. That windows
control uses an activeX control DSO Framer control. I made it as an assembly and installed it in to the GAC, but when I tried to display it in the browser nothing is visible. At the place of the control its giving a red mark.
And I am running it in the local intranet only, could you please help me. I am trying to display office doc' in this control. Please help. I would be thankful to you. Please.
Regards,
Aleem.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
When you say a red mark, what do you mean? Is it a red cross on the page? Which browser are you testing it with?
Even though you have created this as a .NET control you are still going to have to adjust the security settings to allow these controls through.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete ,
But there wont be any stupid installations. Thats what problem with activeX controls. They contain fully unmanaged code, in scure data. Whcih may be like a body carrying cancer cells in it, at any time they may dangerous. Thats the problem am I not correct Pete.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
The OCX you created the wrapper for, as well as the wrapper, must be installed on the client in order for the OBJECT tag in the HTML to use them. You did NOT remove the requirement for a client-side installation, you've actually created a second installation requirement to get your code to work.
If these components are not installed on the client side, you'll see a little red X where the component should show up. This is because the browser can't find the components you specified in the OBJECT tag.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I dont know whether I need to install the ocx or not in this situation, but let me check with it. What essentially I need is I want to run the code whatever I wrote in that assembly this is very imp for me now, mainly I wrote the code for displaying and editing a word content in it. But I am not getting it. I would be thankful if you could help me in this problem. Please.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|