Charles Brownmiller's Q&A profile
Windows Forms microsoft access and Visual Basic.net 2003
i am using microsoft access and visual basic.net 2003...there is a problem i am facing.....i want to use wild cards in my query...i have created a oledb datarader and passed him a wildcards query that is working fine in access but it is not producing any results with datareader......any ideas... Thanks Leburn it worked. one more thing how can i use wildcards with numbers ...Show All
SQL Server Trouble connecting to a remote server using SQL Server Express
Here is the information that I have... ( ps all information is not the actuall information ) 1) URL abc.somehostingcompany.com IP: 211.11.111.1 PORT: 1433 ( NOTE: if I go to a cmd promt and type in ping abc.somehostingcompany.com I get a response ) 2) dbname = mydatabase 3) userUid = sa pwd = sa Inside SQL Server Configuration Manager --> SQL Server Network Configuration --> Protocols for SQLEXPRESS, I enabled TCP/IP and Shared Memory. Inside the properties of TCP / IP, I made sure under the "IP Address" tab that the IP1: Active = yes IP1: Enabled = yes IP1: IP Address = abc.somehostingcompany.com ...Show All
Software Development for Windows Vista Registry Access in Managed Form Application
Hi, I'm developing a C# .Net 2.0 application that requires read/write access to the registry. I'm using the following code: using Microsoft.Win32; ... regkey = Registry.CurrentUser.OpenSubKey(@"SOFTWARE", true); regkey = regkey.CreateSubKey("MyCompany"); On Vista the new permissions lock down, I get the registry access denied exception. How do I elevate the permissions level so that the user at least is prompted to allow access Thanks, Mike Well I've worked out that I need a manifest file to let Vista know that the application requires elevated permission ...Show All
Visual C# How can I make the IDE create correct code?
I implement a component, but I can't get it's paraent (a control which contain the component). So I want to get the paraent from constructor's parameter. But the IDE can't create corrent code for my new constructor. How can I make the IDE create correct code I want to let the IDE automatic create the correct code, because I want to get the paraent in Design Time mode. example: The illegal code: # region Component Designer generated code /// <summary> /// Required method for D ...Show All
Software Development for Windows Vista retrieve a list of workflow instances and select one
I have an issue and I need some help. Suppose the classic pattern of document review: I have built yet an asp.net application that is over a state machine workflow that follow the flow of the document review. In my test webapp I have a single web page that raise all the event needed. Now suppose that I would realize an asp.net application where the simple user can insert their personal document. Each adding cause a new instance of the workflow that is stored in the persistence until a reviewer take it. I have to get the entire list of all the instance of the workflow with the paramters (this will be shown at the supervisor) and a sub-list of ...Show All
Smart Device Development gwes.exe errors - how to analyze?
I am developing and testing a Windows Mobile 5 application. Occasionally, I get the screen "A problem has occurred with gwes.exe". How can I determine if the gwes.exe problem is related to my application, and if related, the nature of the problem (so I can correct) Thanks, Frank one time, i use free() fucntinon to free a array . that means, use free() to free the memory which is not alloced by using malloc function. so generate the GWES.exe error. and i do not suggest to close the error report, if the App generate gwes.exe error, it means the App have some pointers problem. and if t ...Show All
Visual C# C# and MFC
I'm just wondering if you will be able to use mfc in c#.. I'm new to C# and evaluating if it is possible to port old MFC programs to C# compiler and then program new UI under C#. 1. I heard that C# is good to do UI program, is it true 2. Is C# program portable everywhere 3. Is C# supports MFC programs Thanks There is a program call RC Converter (dudelabs.com) that will port the UI portion of an MFC program to C#. I personally like Windows Forms better than using MFC for creating a UI. C# does not support MFC programs. ...Show All
SQL Server Very Lost while trying to Configure “Web Service Identity”
Very Lost and very Frustrated Hello all, I am going to try to keep it short. Been banging my head with this SQL 2005 Reporting System. My system configuration is as follow: Windows 2000 server – (all services packs install) Microsoft SQL Server Management Studio 9.00.1399.00 Microsoft Analysis Services Client Tools 2005.090.1399.00 Microsoft Data Access Components (MDAC) 2000.085.1117.00 built by: (_sqlbld) Microsoft MSXML 3.0 5.0 6.0 Microsoft Internet Explorer 6.0.2800.1106 Microsoft .NET Framework 2.0.50727 ...Show All
Visual Studio VS IDE crashes when debugging in managed or mixed mode
I have a c++ project that uses a .NET 1.1 assembly as a com object. It is loaded with CoCreateInstance. If I debug in native mode it looks like everything works okey, in managed mode the application crashes with no errors or anything, and in mixed mode Visual Studio crashes. Something that looks somewhat suspisous to me is that it looks like .NET framework 2.0 assemblies and debug symbols are loaded. For example: 'MyApp.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\fusion.dll', No symbols loaded. 'MyApp.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\msvcr80.dll', PDB format is obsolete. 'MyApp.exe': Loaded 'C:\WI ...Show All
Windows Forms prevent application closing
i have created a program but it is intended to be used constantly and so that means i have not included a means of closing the application. but the defaults that Windows uses are still available such as Alt+F4, Ctrl+Alt+Del, Alt+Tab. I want it so these are disabled by my program when it is run. also, i want the three buttons in the top&n ...Show All
SQL Server Package hangs on parallel "upserts"
I have data flow tasks, one which validates the import file and one which processes the import file if the validation passed. The validation runs and pushes the three row types to three different recordset destinations. When I enter the processing data flow task, I have three parallel trees processing each recordset saved in the previous task. I'm using a script component to generate the rows which are then sorted and merged with the production database to find existing records. Based on this, I split to an OLE DB command (running an UPDATE command) or OLE DB destination (to simply insert the records.) In this particular case, all records ar ...Show All
.NET Development wse 2.0 AuthenticateToken oberride
According to the documentation the AuthenticateToken method should return the validated password to indicate that the pwd is valid This woks fine in the client is sending the pwd as text When i sent the passwordoption to sendhashed i am able to validate the passworddigest against my authentication store but when i return the password i get this error WSE563: The computed password digest doesnt match the username token I tried returning the passworddigest and a hash of the password and it still returns the error when am using the oprion sendhash what value am i supposed to return ...Show All
SQL Server How can i insert a default row if it doenst exists already?
Hi, I am currently loading dimensions using a Sql Server Destination and i was wondering if i can create a middle step to insert a certain row so i would identify in my dimension the undefined records... I know i can do it with sql statement but i was wondering if there is a better way. Best Regards, Luis Simoes Would this not be part of the fact load, you wish to infer the dim member from the fact data when there is not already a matching dim member You would use either the lookup or join to detect the rows in the fact that do not have a corresponding dim member. Normally I would expect a lookup to be better for the job as th ...Show All
Visual Basic Determine which link label was clicked
I have 10 linklabels and all have events connected to a sub. When a link is clicked, it will open a form whose controls are created based on which link was clicked. So instead of using a seperate sub event for each linklabel, I put them all to one sub. But, I cannot figure out how to tell which linklabel was clicked. Any ideas The first parameter passed into your event is the link that was clicked. You can check which one it is with =, or you can cast it and use properties such as Text or Tag to work out which one it was. ...Show All
.NET Development Connecting problem
Hi. I am having problems with the TCPClient Class in .NET (1.1) If i connect to the server app from either mobile device or the Windows Client application, it of course connects successfully assuming the server is up and running. However, if i quit/stop the service of the server app and try to connect from the client application - you would expect for it not to work. However, it does! It seems to connect but the problem starts when you send messages to the connection destination (when the destination app is closed/service has been stopped) When sending the data to the Server (when its offline) it will of course throw an exception wh ...Show All
