lucerias's Q&A profile
Software Development for Windows Vista How does the serialization work?
I have the code shown below to serialize a workflow to XML. The workflow consists of custom activity classes, each having its own associated designer. The resulting XML file only contains the names of the activities but not a single property of them. Why are the built-in properties of the activity base classes not automatically serialized Do I need to create a custom serializer for each of my custom activities, even for the built-in properties Is serialization of the activity designer classes also managed by the WorkflowMarkupSerializer or does it only manage the serialization of the activity classes I have many properties for visual appearance in the designers, that I would like to be serialized so that the visual ...Show All
Visual FoxPro FOXPRO running slow on POS Machine
Hi guys, Me running Ximeta netdisk RAID 1 on FOXPRO Programming, 2 POS Machine are running slow on the programmed menu buttons. I am linking them to a full mode Switch 10/100 Ethernet. Can anyone help me So what's your take on this Hi, What is the speed to copy few MB files from server to POS machine Is your query optimized Any antivirus installed ...Show All
Visual Studio Express Editions Console error
I compiled a simple little program on my upstairs computer and it works great, no problems at all. #include <iostream> using namespace std; int main() { cout << "Hello"; return 0; } I made sure that I checked the "dont use precompiled header" option. The file is 7.5 kb. Now when I run this program on any other computer it doesn't work (I've tried about 6 now). It gets an error message "The system cannot execute the specified program." What did I do wrong divineleft wrote: It's not any of that, it has something to do with the way it is compiled. 1. I followed my instructions exactly, using your program (with Project HelloCout and source code HelloCout.cpp). 2. The p ...Show All
Game Technologies: DirectX, XNA, XACT, etc. NoSuitableGraphicsDeviceException was unhandled
Let me just say at the outset that I know nothing about C# (yet) and am trialing the XNA beta to try and get into it. I do know VB and some C, however. Once I had everything installed, I tried a few example programs including the Spacewar project, but I cannot run any of them. They build fine, but I can't run the .exe, and it crashes and asks if I want to send a report to MS. If I "Start Debugging" instead, I get the error "NoSuitableGraphicsDeviceException was unhandled" on the "this.GameComponents.Add(this.graphics);" line. I have no idea where to even start. Is it my install My PC My hardware The program I'm trying to run Once I know the environment is actually working, I can begin the learning! ...Show All
Internet Explorer Development Alternatives to IELaunchURL: use CoCreateInstance to create a WebBrowser object running in Protected Mode?
Originally posted in this thread , but got no response after 5 days. Sorry for the long-windedness, but I'm getting desperate for some answers. I'm revising an existing application for Vista-compatibility. This application makes extensive use of the IWebBrowser2 interface and IE to display web pages, primarily from the company's own site (like an about page), but it could potentially navigate anywhere. The app is written in C++ and runs at medium integrity level (medium IL is required for most of what this app does). The problem occurs when the app navigates to a URL in a zone that requires IE Protected Mode. Because my app runs at medium IL, the WebBrowser object I obtain via CoCreateInstance is in an instance of IExplore.exe runnin ...Show All
SQL Server upgrade from 2000 MSDE to 2005 Express - Enable TCP/IP by default & Current Version of SQL running?
i am working on upgrading the clients and server computers from 2000 MSDE to 2005 SQL Express Adv. Plan to upgrade using the template.ini. i can find the version of sql server running on th server by @@version but how do i find the version of client connctivity components the computer has installed in order to ugrade 1. somehow i need to know whether to upgrade a client computer CONNECTIVITY COMPONENTS from 2000 to 2005 2. is there a way to enable tcp/ip in installation script of SQL Express THANKS Thanks for your reply Once I upgrade the Server computer, do I need to upgrade the Client computers with the connectivity components If yes, how do I do it ...Show All
Visual Studio Express Editions one image add another logo image in .net
one image add another logo image in .net hi friends any one tell me, using vb.net or asp.net or c#.net any language use my question is one picture box open a picture. iam save a picture.ok is general. one picture box open a picture.now i am add another image leftside or rightside or top or bottom. iam save a single image. ============================================================ example i am image upload sample: same i ask http://img526.imageshack.us/my.php image=iamgeoverlaybq0.png ============================================================= please try and anyone give code to me. my mail id is viswa.vp@gmail.com i am waiting for ur message. please urgent. thanks Thanks Lepaca Its work 100% . once again th ...Show All
Windows Forms specialfolder
Hi, How can i get the folderpath of an application from where its being executed I need to know this in order to save a file in that path. And i mean the folderpath of the application im writing myself. Thanks in advance! Hi, Thanks for your reply. Its actually an application you can install. Usually in c:\program files dir. But i think i found the line which is: string directory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName); ...Show All
Visual Basic Crystal Report And Similar Tool For Printing Document
May i know is there any tutorial on Crystal Report, i want to retrieve some data from database, format it and print it out. Apart from Crystal Report, what other tools is suitable for this Thank you. I have already solved the previous problem. I am really a beginner to crystal report and have no idea on its working principle, is there anyone can provide some information or web tutorial which can guide me from the ground I need to know the basic like how to bound the data to the report and display it properly, how to format the report and do the query to display particular data in the report. Thank you. ...Show All
SQL Server Programmatically Data Conversion component creation
Hi there, I have created a package which simply imports data from a flat file to a SQL Server table. But I need to incorporate a data conversion component by which I may change the source-destination column mapping programmatically. So what I thought that I need to add a data conversion component into the dataflow task. After adding this component (I found its component id as {C3BF62C8-7C5C-4F85-83C3-E0B6F6BE267C} ) I have created a path which establishes the mapping between output columns of source component and the input columns of data conversion component. Now I am not sure how to establish the mapping between the data conversion component’s input column collection and output column collection. I am giving my code snippet her ...Show All
.NET Development Find DataRow in DataRowCollection
Hi all! I have a problem that the IndexOf of DataTable.Rows does not find the row. It seems the link is broken one time, here is the summary of important lines of code: DataTable preparedSource = new DataView (dataSource, FilterExpression, SortExpression, DataViewRowState .CurrentRows).ToTable(); ... DataRow [] selectedRows = preparedSource.Select(SelectExpression); ... DataTable group = new DataView (preparedSource, ... ).ToTable(grpName); Now, if I take one of the selectedRows and try the group.Rows.IndexOf(DataRow), it returns false even if that row is in the table. Does any of the methods above duplicate the items instead of working with references How to solve this with minimal changes to code Th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. levels
how would i make my own level in XNA ...Show All
Windows Forms font.Height and Graphics.MeasureString failing on user machine?
I have a Forms app that prints reliably on my laser printer but fails on a user's Zebra thermal printer. Filling my code with exception logs shows it throwing System.ArgumentException whenever I try to use the Font.Height property or Graphics.MeasureString on the same font. To help track this down I borrowed the user's printer, installed his driver on my development machine... and it works fine. Any suggestions as to what could be going wrong, or other things to check Have you tried looking for the Zebra's font listing I think most thermal/barcode printers will only support 1 or 2 fonts. The problem with most of these printers is the fact that they use non-scalable fonts. I usually send pri ...Show All
Software Development for Windows Vista Pass input from one activity to another on the designer
Hello Everyone, I am creating a workflow designer and an activity library ( which contains the custom activities i show on the designer). I was wondering how i can let the user link two actvities at design time such that the output from one activity becomes the input of other , something simmilar to setting the parameters of an activity. Please let me know if i am not clear.. Thanks Sonali There's a good article on MSDN by Vihang Dalal that's around workflow designer re-hosting. It also touches upon the Activity Bind feature and should be helpful. Here's a link to it: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/WFDsgnRehst.asp ...Show All
Visual Basic Accessing LAN server
When i accessing computers in my LAN for some computers i need to enter password and user name. My database is on the server computer. If i previously access the server my program work. If I didn't access the server program thru me a error then i don't heve premission to access the database file. Can i enter user name and password true code I can't share access to server so i must enter user name and password. THANKS Perhaps this article helps... ...Show All
