Ok . It's more . But how much exactly ? can I set 4096 characters to a String ?
Trankil
Posts
-
max characters of the type String -
max characters of the type StringI sorry to post my messsage in a wrong group . But I don't know where is the accurate group for my message ? -- modified at 2:13 Thursday 16th March, 2006
-
max characters of an array of charHi ! I have declare an array of characters like this : char lStr[255]; But , i want to declare a bigger capacity of this array . So i want to kow the maximum characters, i can declare in a array of characters ? :)
-
max characters of the type StringI every one, I want to know the maximum characters a String type can contain . 256 characters or more ? :)
-
MSComm32 dependancesHi ! (Excuse-me, I hope that this message, will not be inserted inside the current discussion . I want to post a new message, a new discussion, but I don't know how to do.Here is my purpose) I have developped a software which manage modem through serial communications. That is why, I have imported the component MSComm32.ocx in my application. I have used .NET for my purpose . The installer application is defined to register the component MScomm32 into the computer (A) on which we make the installation. At this stage, there is no problem, the installation of my application is successful. But when I launch my application, there is a fail; N.B. : The component MSComm32.ocx is inside the environnement Visal Basic 6.0 , but not inside Visual Basic .NET developpement environment. After the fail, I have installed VB 6.0 on the computer (A). And now, the launch is successful. I have realized that, at run, the component MSComm32.ocx refers another components (DLL), inside VB 6.0 So , my probelm I want to figure out is this : what are the satellite components of MsComm32.ocx ? What am I going to do, to list all thise components ?
-
Distributing Dlls written in .Net to VB6hi ! I have a solution, but it is in French and I don't have time to translate it in English Here it is : Créer et utiliser un composant COM à partir de .NET .NET est fabuleux, c'est un fait! Cependant lorsque vient le moment d'effleurer la création d'objets COM, la technique peut paraître complexe pour plusieurs d'entre nous. Ce mois-ci, je vais tenter de vous introduire à la création de composants COM via .NET en relatant une problématique tirée d'une situation concrète à laquelle je fais face en ce moment. La problématique en quelques mots est que nous avons une application ASP 3.0 vieille de 3 ans qui communique avec un composant COM développé en VB6 et hébergé sous Microsoft Transaction Server (MTS). Pour une raison obscure, notre composant COM VB6 arrête maintenant de fonctionner de façon aléatoire, sans avertissements et sans aucune information pertinente et du même coup tous nos usagers sont affectés. Le facteur temps est important dans la résolution de ce problème puisque nos usagers sont affectés. Alors, après plusieurs recherches et diagnostiques, nous en sommes venus à la conclusion où la seule alternative viable est de recréer notre composant COM en VB.NET afin de nous offrir une plus grand stabilité et une flexibilité de diagnostique accrue. Voici donc les étapes que j'ai suivi pour développer le composant COM en question sous VB.NET dans Visual Studio.NET. Étape 1 - Création de l'application 1. Créez un nouveau projet de type "Class Library" 2. Effacez la classe class1.vb 3. Ajoutez une nouvelle classe de type "COM Class" 4. Ajoutez une ou plusieurs fonctions à cette classe Étape 2 - Construction (build) du composant COM Pour que .NET puisse construire un COM, vous devez ajouter un "strong name" à votre projet. 1. Ouvrez une session DOS via le raccourci "Visual Studio .NET Command Prompt" 2. À l'invité DOS, tapez "sn -k le_nom_de_votre_projet.snk" 3. Ajoutez le fichier nouvellement créé "le_nom_de_votre_projet.snk" dans le répertoire \obj\Debug (ou \obj\Release, selon le mode de votre projet) 4. Éditez le fichier AssemblyInfo.vb pour y ajouter une référence au fichier .snk nouvellement créé en ajoutant l'attribut suivant: * 5. Sauvegardez les changements et construisez (build) votre projet Étape 3 - Enregistrement du composant COM Traditionnellement, les composants COM étaient enregistrées avec l'utilitaire regsvr32.exe mais comme .NET
-
Deploying windows applicationsHi ! I've got an binary executable from Internet, which firstly checks if .Net is installed on the computer. If not , it executes dotnetfx.exe to install .NET. After installed .NET, it automatically launchs the deployment of your windows application. This binary executable works with a configuration file. Here is the content of this file named settings.ini [Bootstrap] Msi= FxInstallerPath= where is the path to your windows application installer . , is the path to dotnetfx.exe Then save the modifications. But I don't know how to send you the binary file that automatically install .NET Could you help me ? :confused: