jakorakosaya's Q&A profile
Visual Basic Known colors
Hi all, i wonder if any1 could help me please i am converting a vb6 application to .NET and previously i allowed users to select custom colors, however in my .net app i wish only to use named known colors. does anyone know of a way that i can automatically convert custom colors in vb6 (im using System.Drawing.ColorTranslator.FromOle(Int) to get the value) to the 'nearest match' known color , i.e if the color was previously a custom light blue, the near match would be something like aqua ive had a play and just cant find a reliable way to get near, so any tips and help would be appreciated many thanks Bob Hi jonathan thanks for ur reply but i get a compile error s ...Show All
Smart Device Development Regarding Text to Speech in Windows Mobile 5.0 Pocket PC using vb
hi everybody, I'm trying to write a small application regarding text to speech using vb in windows mobile 5.0 pocket pc. It has a simpel text-box and a button, when debugged and text like 'Hi' is enetered ,with button click it usually reads the text in that text box.......My code runs like this... Imports SpeechLib Imports System Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x As String = Me .TextBox1.Text Dim voice As ISpVoice Dim a As UInteger voice.Speak(x, SpeechVoiceSpeakFlags.SVSFlagsAsync, a) End Sub End Class but it shows an warning and also an error null reference ...Show All
Visual FoxPro New to InstallShield need help
I recently resumed writing Visual Foxpro applications. I have not done much with VFP since Visual FoxPro 5.0. I'm currently using VFP 9.0 w/Installshield 5.0. When I create a distribution set and attempt to run it after the install, the form flashes on the screen for a half second and disappears. When I run the prg or exe from inside the VFP environment, they perform as expected. What could I be missing Rick is right. You seem to be missing a READ EVENTS. VFP needs a wait state. This is provided by the IDE when in development. You need a READ EVENTS while in production (EXE) and a CLEAR EVENTS executed from your exit menu option or exit button on a form or similar. See the very last i ...Show All
Smart Device Development How can i get the phone number?
Is there any API in .NET Compact Framework 2.0 to get the local cell phone's phone number Many thanks, No, there’s no such API in NETCF V2. This should help: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/search hl=en&group=microsoft.public.dotnet.framework.compactframework&q=get+phone+number&qt_g=1&searchnow=Search+this+group ...Show All
SQL Server SQL Server 2005 Express Toolkit & Reporting Services
Hi, I had previously installed SQL Server 2005 Express edition (and later, SQl Server Management studio express). Recently, I wanted to try out 'Reporting services' and downloaded 'SQL server 2005 express Toolkit'. After installation, I have a new program group 'Visual studio 2005' . I started that with 'New Report Project'. I tried to attach an existing database (to be precise, in 'connection string' part) , but it is giving error saying 'An error has occured while establishing connection to Server. When connecting to SQL Server 2005 ( ) ,..... may be caused the fact that under default setting SQL Server does not allow remote connections ' I tried my existing SQL Server 2005 express edition Surface Area Configuration and it is configure ...Show All
Windows Forms Windows Application in Windows Service
Hi, i develop my project as Windows Application at the first time. After developing for a while, i encountered Windows Service. The reason that i need the Windows Service is that, i need my program to be able to run when user log on, and not closed when log off. But in some occassion, my project need to show window form. Can i reference the Windows Application to Windows Service by Using syntax Or there are other ways around to solve my issue Thanks in advance. Some links for you: Simple Windows Service Sample Start Your Windows Programs From An NT Service ...Show All
Community Chat KnowledgeNavigator
KnowledgeNavigator is a Dot Net based knowledge abstraction tool using an Acess database. It is a set of organized categories and documents that you, the user define. The categories and documents created by you and are displayed as if they are in your computer file system except they are not. These documents and categories are contained in one central and transportable database, a database that you can send to friends and share with them or a database that contains all the documentation for a project, or better a set of in-depth topic on wine or even recipes. You can create Categories and subcategories of your own chosing and ogranization. New databases can be created and selected. KnowledgeNavigator will ...Show All
Software Development for Windows Vista DVD format of Vista not readable on XP
Hi there I installed Vista and did a backup of my files with the build-in burn function of Vista. I can't read the DVD on WinXP, is it possible that Vista uses a new format that XP can't read If yes, are there any solutions thanks for your answers! mike ...Show All
Visual Basic Installer Failing to Upgrade App from 1.1 to 2.0
Hi, I have an application that I developed in 1.1; the application was delopyed to a large number of workstations via GPO (have used this process multiple times to upgrade the application); I have recently updraded the application to 2.0 and when installing the application on my test workstation (not using GPO at this stage) it fails to upgrade the previous version that was written in 1.1, I end up with the old version and new version sitting in the "Add and Remove programs" list. I can confirm that both applications have different product codes and the same upgrade code, I have also selected in the 2.0 installer to "RemovePreviousVersions". I have used Orca to check that the upgrade ID are the same even after the setup ...Show All
Software Development for Windows Vista Stange text encoding in the Registry for RC1
I've got an application that provides similar functionality to the Device Manager. It displays the devices by "category" similar to the list view in the Device Manager. It gets the category string from the registry... specifically the "default" string value at each one of the keys like: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318} These string value at these locations used to be just normal unicode text, but with build 5600, the text is a bizarre unicode-wanna be "[xufkY][ VD/ D-ΓO ιν !!! ]" instead of "DVD/CDROM drives" It's almost readable as english, so that leads me to believe that the change was deliberate (I can't imagin ...Show All
SQL Server DMX Query examples
Can you give an example on how exactly to write each of the following (I am clearly not a programmer :)) TopCount ( <table expr>,<rank expr>,<n-items>) = TopPercent ( <table expr>,<rank expr>,<percent>) = PredictTimeSeries ( <table expr>,<n1>,<n2>) = PredictAssociation ( <table expr>,<n>) = Thanks, Carrie So I did..... select TopCount ( PredictHistogram (Returnwithplay), $Support ,.20) From [REC FT All Cube DT] PREDICTION JOIN And received the following ( I think the query completed with errors): Executing the query ... Parser: The end of the input was reached. Execution complete ...Show All
SQL Server SQL Service Broker vs MSMQ
I'm in the process of doing the initial research for the architecture of a large scale, transactional messages routing platform. My initial design called for a series of MSMQ queues and Windows Services, written in C#, to process the messages in these queues. There will be incoming and outgoing queues, queues to store unroutable messages, etc. My application will be routing many hundreds of thousands (and eventually millions) of messages per day. These message are very small (< 200 bytes each) and must be routed very quickly. (<1 second processing overhead per message for high priority messages.) Using the term "routing" may be a bit misleading. The messages arrive via TCP socket connections. I will just need to take in a ...Show All
SQL Server SQL 2005 Replication Error authenticating proxy
I have been attempting to create a snapshot of a database. Just install a SQL2005 cluster. The snapshot appears to create ok, but when I view snapshot agent status I get the following error which I have not been able to figure out: Unable to start execution of step 2 (reason: Error authenticating proxy ohaev\services, system error: Logon failure: unknown user name or bad password.). The step failed. This account has admin and dbowner --- Help I have the same problem as the OP. I have a SQL Server 2005 Standard cluster. I've even tried entering the same credencials as the SQL Server Agent uses anyways, but that gave me the same error. However, chosing the option to "Run under the SQL Serv ...Show All
SQL Server Native compiler return value: [BC30494] Line is too long
I'm developing a very big and complex P&L report in RS2005 for a big bank which suppose to have 20 tables with around 12 groupings per table. This is similar like having or combining 20 reports in one big report with massive data from Analysis Services 2005 data source. The report was successfully compiled only up to the fourth table. When I added the fifth table by copying and pasting from the fourth table and then compiled the report in Dev Studio, I've got the following error message: An error occurred during local report processing. The definition of the report '/Profit and Loss' is invalid. An unexpected error occurred while compiling the expressions. Native compiler return value: '[BC30494] Line is too long.'. I have car ...Show All
SQL Server Error when Exporting to Excel using SSRS 2003
Hi, I have encountered an error when attempt to open a report which is exported to Excel using SSRS2003. It looks like this: Microsoft Office Excel File Repair Log Errors were detected in file 'C:\Documents and Settings\TocsonEI\My Documents\Rigid\Reports\rptRigidTransactionSummaryReport3.xls' The following is a list of repairs: Damage to the file was so extensive that repairs were not possible. Excel attempted to recover your formulas and values, but some data may have been lost or corrupted. At first I thought it was because of the sheer bulk of the report since when I break down a month's report to every 5 days, it would export without error. So I thought that if I can break a whole report into several worksheets us ...Show All
