|
igor1960 wrote:
yesterday I've suddenly rediscovered that thread and found your message
Oh, that was a spicy thread !
igor1960 wrote:
How long usually it takes to place an article on CP?
It usually takes one week. Unfortunately, Chris is currently in Redmond (if I understood well) so the article processing gets somewhat deferred one week or so.
Once the article gets in the pipe, that is once Chris has reached your email out of his billions emails, then you will be sent an automated email.
Once you have this email, it takes a few days before it gets edited by the editors and actually gets posted.
Should be posted soon now.
|
|
|
|
|
Hello everyone.
I test on a dll called wenching.dll. Just an example.
I use the vs.net command prompt and type this command:
tlbimp wenching.dll
I got this error:
TlbImp error: The input file 'C:\Windows\system32\wenching.dll' is not a valid type library
Hmm.. what does this mean?
But when i try this:
tlbimp dx7vb.dll
it works fine?
Any help?
Regards,
Chua Wen Ching :p
|
|
|
|
|
|
Hi All,
I would like to install visual JSharp from command line in silent mode. But i could not yet get a solution for that. Any help in this regard is much more helpful to me.
Thanks,
S. Seetha Raman.
|
|
|
|
|
Is there any wrapper for telephony in .NET, or do I have to call the TAPI directly?
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
I'm going with TAPI 3.0 - it uses COM.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
Hi,
... I'm new to all this Pocket Pc stuff... I would like to launch a process ( or configure ActiveSync), in order to copy an XML file from my PC to the Pocket Pc, and the other way around when the user places the pocket in the cradle.
Any idea about how to do this ?, Thanks in advance
Braulio
|
|
|
|
|
I have released v1.2 of my Code Store[^] add-in for VS.NET, which does work (for the most part). Now I want to move on and add a better user interface and proper handling of settings before adding some more useful functionality.
I started by using ISerializable to serialize the settings, but had problems, so I switched to the Microsoft Configuration Management Application Block (CMAB[^]), but now I have hit yet further problems with this, that I have posted a question about on the microsoft.public.dotnet.distributed_apps newsgroup.
What I really need is someone (or some people) who know what they're doing to come in and fix these intial problems so that I can get on with the serious business of adding functionality. If you are interested and think you can help, then please wander over to GotDotNet Workspaces[^] and dowmload the code.
There are also issues relating to add-in registration and the setup of the menu item, etc. that would also be good to fix asap.
Derek Lakin.
Try the Code Store for instant integrated access to an online repository of .NET components.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
Derek Lakin wrote:
Microsoft Configuration Management Application Block
Now that sounds nice Something that has been missing for while!
What seems to be the problem though? Also, can you provide a single file "solution" (no pun intended) to download, or specify the "bad" files in question?
leppie::AllocCPArticle(Generic DFA State Machine for .NET);
|
|
|
|
|
OK, so I find your options.cs file But where are you using the CMAB?
AFAIKC, this is the implemention (2 ways):
...
ConfigurationManager c = ConfigurationManager.Items;
...
c["mysetting"] = Blah.Blah.Foo;
c["font"] = WebDongs;
...
OR
ConfigurationManager.Items["connection_string"] = "Some String";
string conString = (string)ConfigurationManager.Items["connection_string"];
The Read/Write methods are "extras".
Hope this helps
leppie::AllocCPArticle(Generic DFA State Machine for .NET);
|
|
|
|
|
Just to check if everything was going wrong I added a call to Initialise in the Options constructor: ConfigurationManagaer.Initialise() . This is the first place that the exception is thrown.
However, the call to Initialise should not be necessary, so the first place I should be calling CMAB is in the Options.LoadOptions call: this.configData = ConfigurationManager.Read();
Derek Lakin.
Try the Code Store for instant integrated access to an online repository of .NET components.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
Did you add the :
<section name="applicationConfigurationManagement" type="Microsoft.ApplicationBlocks.ConfigurationManagement.ConfigurationManagerSectionHandler,Microsoft.ApplicationBlocks.ConfigurationManagement, Version=1.0.0.0,Culture=neutral,PublicKeyToken=null" />
Section to your appfile.config file?
leppie::AllocCPArticle(Generic DFA State Machine for .NET);
|
|
|
|
|
Yes, the App.config file is as follows:
="1.0"="utf-8"
<configuration>
<configSections>
<section
name="applicationConfigurationManagement"
type="Microsoft.ApplicationBlocks.ConfigurationManagement.ConfigurationManagerSectionHandler,Microsoft.ApplicationBlocks.ConfigurationManagement, Version=1.0.0.0,Culture=neutral,PublicKeyToken=null" />
<section
name="CodeStore"
type="Microsoft.ApplicationBlocks.ConfigurationManagement.XmlHashtableSectionHandler,Microsoft.ApplicationBlocks.ConfigurationManagement,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null" />
</configSections>
<CodeStore>
<XmlSerializableHashtable xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Entries>
<Entry>
<key xsi:type="xsd:string">serverUrl</key>
<value xsi:type="xsd:string">http://www.salamandersoftware.biz/codestore/</value>
</Entry>
<Entry>
<key xsi:type="xsd:string">localPath</key>
<value xsi:type="xsd:string"></value>
</Entry>
<Entry>
<key xsi:type="xsd:bool">useProxy</key>
<value xsi:type="xsd:bool">false</value>
</Entry>
<Entry>
<key xsi:type="xsd:bool">bypassProxyOnLocal</key>
<value xsi:type="xsd:bool">false</value>
</Entry>
<Entry>
<key xsi:type="xsd:bool">proxyAuthorisation</key>
<value xsi:type="xsd:bool">false</value>
</Entry>
<Entry>
<key xsi:type="xsd:string">proxyAddress</key>
<value xsi:type="xsd:string"></value>
</Entry>
<Entry>
<key xsi:type="xsd:int">proxyPort</key>
<value xsi:type="xsd:int"></value>
</Entry>
<Entry>
<key xsi:type="xsd:string">proxyUser</key>
<value xsi:type="xsd:string"></value>
</Entry>
<Entry>
<key xsi:type="xsd:string">proxyPassword</key>
<value xsi:type="xsd:string"></value>
</Entry>
</Entries>
</XmlSerializableHashtable>
</CodeStore>
<applicationConfigurationManagement >
<configSection name="CodeStore">
<configProvider assembly="Microsoft.ApplicationBlocks.ConfigurationManagement,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"
type="Microsoft.ApplicationBlocks.ConfigurationManagement.Storage.XmlFileStorage"
refreshOnChange="false"
signed="false"
encrypted="false"
path="codestore.options" />
</configSection>
</applicationConfigurationManagement>
</configuration>
By all means join as a member of the GotDotNet workspace project. I'll let you in and check-in whatever files you think need changing.
Derek Lakin.
Try the Code Store for instant integrated access to an online repository of .NET components.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
Hi all,
I spent almost one day to find out why do i receive unhandled exception when trying to select multiple rows in a form's DataGrid. I will get the error if I put a DataGrid to a form and choose any unexpandable data source (for e.g. an ArrayList), which produces readonly DataGrid by default. If I start to select the last 2 rows in my readonly DataGrid with the keyboard (<shift>+<crsr down="">) and keep my fingers on the keyboard for a while (trying to select the unexisting rows), then pressing a <shift>+<crsr up=""> leads to crash.
If the DataGrid is not read only, then working fine. (only the DataGridTableStyle can be readonly to avoid the exception)
I could not believe my eyes, so I downloaded an MS example, called "datagridcustomization.exe" from http://download.microsoft.com/download/c/9/8/c985dbd0-2ba9-4c75-86ba-a108e64b0970/datagridcustomization.exe
but this produced something new, which is also strange.
just unpack the example and run the program found under the /bin directory and simply press the <crsr down=""> key until you reach the end of the datagrid
since i just started to learn .Net framework, i do not know if this kind of component behavior is normal or not?
Is there any global exception handling possibility to handle such exceptions?
thanks
|
|
|
|
|
Ok guys, I've been wrestling with this for a while now and am not getting anywhere. I just can't get MS Visual Studio to recognize my 1.1 .NET SDK update. I'm on a win 2K machine and have VS .NET professional installed (which installs the 1.0 SDK be default).
When I try installing the 1.1 SDK over the 1.0, VS .NET doesn't recognize the update. It says (under help->About Microsoft Development Environment) that I have the 1.0 framework installed. I get no errors when installing the 1.1 SDK, and am installing the 1.1 runtimes first, before the sdk.
Ive tried uninstalling 1.0 SDK, and then reinstalling 1.1. When I did this MS Visual Studio gives me errors and says I need to reinstall VS.
Any ideas? At the very least can someone give me the order in which I should install/uninstall everything? I may end up just moving to a different/fresh machine and starting over.
Thanks for any help
Dave Ratti
|
|
|
|
|
Are you using Visual Studio 2002? Visual Studio 2002 only targets NET 1.0 .You can not use the .NET 1.1 from within Visual Studio 2002.
To build a .NET 1.1 App you have two options:
1. Use Visual Studio to write and organize your files and then use the command line compiler on the 1.1 SDK folder to build your app (but remember that NET 1.1 introduces some code-breaking changes to NET 1.0)
2. Upgrade to Visual Studio 2003
|
|
|
|
|
Yeah I am using VS 2002, thanks for the help
Update: urgh is $550 for the upgrade
|
|
|
|
|
|
I'm working on a project that secives stock prices via DDE and i want to resend them over the network, since DDE isn't supported anymore in .net what is the best way to send these prices that can change more than twice a second over the network?
Thank you
|
|
|
|
|
Dear all experts ,
Hi, this is my first message on codeproject. I am very new to .NET programming. I like to know how to duplicate an ArrayList.
--Can I write this?:
System.Collections.ArrayList ListCopy=ListOriginal.Clone();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.Clone();
--or--
System.Collections.ArrayList ListCopy=ListOriginal.ToArray();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.ToArray();
or any other method ? Please give me advise.
Thanks you very much.
Regards,
Jasper Lai.
|
|
|
|
|
Derek Lakin wrote:
Jasper2Virtual wrote:
--Can I write this?:
System.Collections.ArrayList ListCopy=ListOriginal.Clone();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.Clone();
These two will give you an Array not an ArrayList.
Correction: This does return an ArrayList NOT an Array.
From the SSCLI:
public virtual Object Clone()
{
ArrayList la = new ArrayList(_size);
la._size = _size;
la._version = _version;
Array.Copy(_items, 0, la._items, 0, _size);
return la;
}
leppie::AllocCPArticle(Generic DFA State Machine for .NET);
|
|
|
|
|
Jasper2Virtual wrote:
--Can I write this?:
System.Collections.ArrayList ListCopy=ListOriginal.Clone();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.Clone();
These two will perform a shallow copy.
Jasper2Virtual wrote:
System.Collections.ArrayList ListCopy=ListOriginal.ToArray();
--or--
System.Collections.ArrayList ListCopy=new System.Collections.ArrayList();
ListCopy=ListOriginal.ToArray();
These two will return an Array not an ArrayList.
Apologies for the glaring mistake in my first reply.
Derek Lakin.
Try the Code Store for instant integrated access to an online repository of .NET components.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
Hi,
I'm new to this Pocket Pc and .net stuff..., so some silly questions...
Which Pocket PC OS has already installed the .net compact framework ?
It's possible to install the .net compact framework in older versions of Pocket Pc OS ?
I had only made some tests with Embedded VC++... and that was quite disappointing... it's .net compact framework and VStudio 2003 quite better ?
Thanks in advance, greetings
Braulio
|
|
|
|
|
I would like to send plain text data to a user specified ethernet address. I know how to send data to a specified hostname or ip address, but I must use the mac address for the app I am working on. Is there a .net object that ca do this or someone can point me to an example using dll import?
Matt is a network administrator for an insurance company in the midwest.
|
|
|
|
|
Hi,
I am planning to get the certification in .Net, what is the best way to get the certification in short time in about a month.
Thanks in advance,
Sree.
|
|
|
|