bola shokry's Q&A profile
Smart Device Development Pocket PC application Development Strategy
Hi, I am searching for a solution for connecting Pocket PC application to Desktop MS Access DB. Currently my Palm Device application communicates with Desktop MS Access DB via custom conduit using HotSync Manager. Now I am planning to develop same application for PPC 2003 / Windows Mobile 5.0 which should communicate with existing Desktop MS Access DB. I have no clue, where to start with. May I request from Pocket PC developer community to give me some valuable suggestions/opinion on giving a start to my development activity. Do I need to write conduit similar to one that consumed by my palm device application. I would appreciate any suggestions/links/samples on this topic. Thanks Santhosh ...Show All
SQL Server Cannot open Property Expression Editor
Hi, I want to change expression of a variable but dont see ellipses icon in expression. The variable property EvaluateAsExpression is assigned TRUE. I have reinstalled SSIS...i am sure there was a icon to open Property Expression Editor for a variable...dont see it anymore. -Amar ...Show All
Visual Studio Team System No warnings flagged by /analyze for uninitialized strings?
Hi, Why doesn't code analyzer flag any error in the below case. Incidentally, it does flag C6001 and C4700 if I uncomment the 'if' statement. Is there a way to force the analyzer to flag in direct assignment of uninitialized ptrs as well #include "stdafx.h" int _tmain(int argc, char* argv[]) { char* str; // if ( str) str = argv[argc+1]; printf("%s",str); return 0; } Thanks. The analyzer doesn't know how many elements of argv are valid. It probably should, though, since the contract for main is defined by the C++ standard. We'll look into that for the next release. However, you can use an annotation ( http://msdn2.microsoft.com/en-us/library/ms182032(VS.80).aspx ) to explici ...Show All
.NET Development creating proxy using wsdl programmatically and wsdl parsing
I am working on XML web services using Visual Studio 2005. My client web service "Client" has the url of the wsdl of server web service "Service" at run time. In order for the "Client" to use "Service" i need to do the following thing "programmatically": 1) Get the wsdl file on the fly from "Service". 2) Create a proxy programmatically i.e not using wsdl.exe or Add web reference. 3)Invoke methods on the created proxy. I donot know how to do any of the above things. Is it possible to do it Can anyone tell me resources form where i can get help Suggest a way of doing it I will be grateful for any help from you. Thanking you. Yours sincerely, ...Show All
Windows Forms Tabs like VS2005
I wanted to ask if anybody knows any control I can use in order to have the same "tabs" as VS2005. I mean the tabs which appears when we are opening a form or a class on the top of the window which is displaying the code or the form. If you didn't understand about what i am talking, i will try to draw them here :) They look like: _________ _________ / Form1.cs |/ Form2.cs |_________________ And we are using them to navigate between the classes / forms which are open. Thank you. You can host all your current MDI child forms inside one of the TabControl's pages. Start with a main form that contains just a TabControl. Change the FormBorderStyle of all y ...Show All
Visual Studio Team System External DB Synonyms Cause Compilation Errors
Hello! I have a solution with two database projects in it. In both we use synonyms for any cross-database references, e.g.: USE [AdventureWorks] GO /****** Object: Synonym [dbo].[synNorthwindEmployees] Script Date: 11/23/2006 15:18:35 ******/ CREATE SYNONYM [dbo].[synNorthwindEmployees] FOR [Northwind].[dbo].[Employees] GO USE [Northwind] GO /****** Object: Synonym [dbo].[synAdvWorksEmployees] Script Date: 11/23/2006 15:25:26 ******/ CREATE SYNONYM [dbo].[synAdvWorksEmployees] FOR [AdventureWorks].[HumanResources].[Employee] The problem we're experiencing is that any view that uses a synonym for an item from the other database causes a compilation error when we build the solution. So if we have the following view in the Ad ...Show All
Visual C++ performance Comparison between C++, C# and COBOL
Hi everyone, Currently our company is in the process of converting from a mainframe environment to PCs. As a pilot we took an application that processses about 5 million rows with about a record length of 7000 bytes the stats were amazing C# it took 3 minutes 17 seconds, C++ (native and not .net) 1 minute 28 seconds and believe it or not the COBOL program took only 45 seconds. The program has a simple read of a record, process few business rules and replace certain bytes in the string and write back to a new file. I expected C++ to perform better. does anyone has any idea why the COBOL program performed better than the C++ program. The data files were the same, the logic were the same, the machine it was executed was t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help Conecting 360 to computer for XNA
To connect your computer to the 360 it gaved me a connection key. So I start up XNA, I went to tools, options, XNA studio and I clicked add. Then it ask me for your Xbox 360 name. What are they talking about xbox 360 name. ...Show All
Visual Basic Redrawing graphics in userControl - Button
Hi all, I've created a Custom button control and i'm drawing the graphics for the button when the paint event is fired. I used Invalidate method to redraw the graphics in events like mousemove, click etc. My problem is as follows: I created a test application to test the created custom button control. I had two buttons on the form. When i click on one button 1 a message box is showed. This message box covers one part of the other button 2 in the form. When i dismiss the message box in such a way that the mouse is not over button 2, a part of the text in caption of button2 disappears. But what ever may be the case, button 1 appears properly as i have called invalidate during the click event for that button1. I understand ...Show All
Visual Studio 2008 (Pre-release) Install error
when I install the LINQ Preview (May 2006).msi ,It's error. And show message "There is a problem with this Windows Installer package .A script required for this install to complete could not be run.Contact your support personnel or package vendor". When I run msiexec.exe /l*v log.txt /i "LINQ Preview (May 2006).msi" the log: === Verbose logging started: 2006-12-6 16:49:04 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: C:\WINDOWS\system32\msiexec.exe === MSI (c) (AC:48) [16:49:04:405]: Resetting cached policy values MSI (c) (AC:48) [16:49:04:405]: Machine policy value 'Debug' is 0 MSI (c) (AC:48) [16:49:04:405]: ******* RunEngine: ******* Product: LINQ Preview (May 2006).msi ******* Action: * ...Show All
Windows Forms Appearance
How would I change the appearance of some controls in the windows form, such as turning the tabs color from the normal color to say a gradient green to white or change the buttons shape and color from a rectangle to a circle and the color from a solid to a gradient. That kind of thing. Wow, I appreciate that a lot. Except when I put the first code in button3_Paint, it changed the form's appearance instead of the button's appearance, because of the "this.ClientRectangle" thing. Not to sound like a total noob, but I am new at GDI+ and the whole designing thing, so if you could maybe explain to me about the button class, like what I should put in there, where I should start because I honestly don't have a clue what to ...Show All
SQL Server Using the SQL Server Agent for the first time
I have set up several jobs to run automatically throughout the day. Each job just does one thing: executes an SSIS package. The packages themselves run perfect when I test them in Visual Studio 2005, but when the SQL Server Agent tries to run the job I am getting failed jobs. Is there any tutorials or walkthroughs that can teach my about using the SQL Server Agent If I wanted extensive help troubleshooting my SQL Server Agent problems which part of the message boards would I post that too Thanks for the info! When you run an SSIS package on your workstation, you are running it using your Windows security context. When it executes via the SQL Server Agent, it is running on the server using the cont ...Show All
SQL Server Syntax to create a job
I am new to sqlserver. Could anybody please help me by giving me a syntax for the command in job schedular to run dts package i enter the job name in the first screen of the wizard. I entered the step name. type Transact SQL database msdb What should i enter in command text box My dts package name is fullcube. Thanks in advance Use the CmdEXec step not T-SQL. Then use DTSRunUI to help get the syntax. DTSRun is also fully documented in Books Online. See also- Getting Syntax Help for DTSRun ( http://www.sqldts.com/default.aspx 301 ) ...Show All
Visual C++ CallProcEx32W
I failed in linking to the 16-bit kernel function " CallProcEx32W " with Borland C++ I am using. It was fine for other functions like "LoadLibraryEx32W", "GetProcAddress32W ", etc. Could you help me in solving this linking problem -Jeremy Hello Re: CallProcEx32W Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use the newsgroups at http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All
Visual Basic database report
hello, i'm using ADODB on my vb8-access. before on vb6 i use data report designer to prepare a print, but here on vb8, how can i do that, without using crystal reports i would like to design my report just like report designer, is it possible or are there any turn around for this thanks hi, im able to create a dataset now, but i've notice that the sql is inside the dataset, how am i able to insert a query like this select * from roles where roles='" & txtroles.text & "' and remarks='" & cbrem.text & "' is it possible also i still have problem connecting to access with password on it thanks again sir ...Show All
