EL marianchi's Q&A profile
Visual C++ Winsock in CLR Class Library
I am getting a linker error : LNK2019 when trying to use winsock with CLR class library project. Can winsock be used with a CLR class library Am I missing any compiler option Woooppss.. I completely missed that. Thanks much. BTW, I wanted to implement Buffered Socket and stream classes to provide Seek functionality which is currently not provided by NetworkStream class. Is there a workaround available Thanks ...Show All
Software Development for Windows Vista Wasting GUIDs?
Hello, I'm not sure if this is the right place to post this question, but I've been having a look at MSDN and I couldn't really find out an answer to this question, and as I use GUID's following the examples of WF, I decided to ask here. My question is: I create a new guid for every workflow I run (every purchase order). Now, for testing purposes, I create a limited amount of orders, say 20 - 30. But in the future maybe it would have to run 300 orders, and I don't understand exactly how it deals with GUID's. If a GUID is unique, as its name sais, then this means that once you use it once you can't use it again I know that being a 128 bit string this gives a LOT of GUIDs, but isn't it a waste of resources to use a guid for every insta ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mapping Texels To Pixels
Does XNA under 360 and PC have the same texel to pixel alignment rules I always have a constant in my effect files to move Dx9 alignment rules, to the more sane Dx10/OpenGL ones, just wondering if I should keep using that and if so on PC, also on 360 Deano ...Show All
Visual C# using nested namespaces in application
Hi, hopefully this is an easy one: I have mutiple namespaces contained within my main assembly for grouping similar classes. For example, let's just say my assembly name is "MainAssembly", and in MainAssembly, I have the following namespaces: MainAssembly.FirstLayer MainAssembly.FirstLayer.a MainAssembly.FirstLayer.SecondLayer MainAssembly.FirstLayer.SecondLayer.a MainAssembly.OutsideLayer Ok, now in my Application that has a reference to this project. My application has it's own namespace, so I need to include the assembly namespace: using MainAssembly; However, when I add this namespace, I cannot see any of the nested namespaces! The only way for my Application to see these, is by inclu ...Show All
Visual Basic How to set the install path for application
I noticed that my app doesn't install to the Program Files directory as VB6 does it. Instead, the wizard creates a jumbled multi level directory and sticks your app in there. How can we change that Thanks. I'm lost. I don't know exactly where to find the File System View in the setup project. Are you talking about the publish folder Because that's the only thing I know about. Thanks. ...Show All
SQL Server I need to create maintenance plans on SQL 2005 without using the wizard
I have several hundred SQl installations I need to change or create a maintenance plan and i don't want to touch every box. I need the step by step process to load the tables myself. If you want to run the maintenance from a single seat, you could create a set of maintenance tasks in Integration Services, and create multiple connections for them. If you want to have the same plan on multiple servers run from each server, I'd create an Integration Services package again and ship it to the other servers. Use (local) as the connection string, assuming the same account can access each server. Buck Woody http://www.buckwoody.com ...Show All
Visual C# Closing Forms
Hi, It's OK - I know how to close a form (for those who don't know, it's: this.Close() ). What I don't know is how to perform an operation just before/after thew form closes. Does anyone know how to do this Thanks. Eragon. Hi Look FormClosing and FormClosed events. Markku ...Show All
Smart Device Development Closing of Applications by the shell
I am developing an application using visual studio 2005 VB for smartphones. The application is a weekly alarm using a simple timer. The problem is that within a week, usually a few days, the application is closed due to garbage collection. I have tried 'on closing' event using e.cancel which does not work. Any solutions would be greatly appreciated. First of all, I don't think your application is closed by a GC. Most probably it's closed by the OS's memory manager, when it detects that there's not enough memory to run some other app. Second of all, setting the e.Cancel parameter in your closing event is not going to stop from your application being closed by the memory manager. Take a look at this blog post for more details; http:/ ...Show All
SQL Server Accessing Report
Hi, I am using IIS 5 and MS SQL Server 2005. My problem is I can deply the report in report server but unable to access.After deplyin g the report when I typed the url( http://localhost/reportserver/......) in internet exploer I am getting an internal error. How can I solve this problem..... Best Regards, Anupam. I installed SQL Server in mixed mode(windows,sql server authentication) and no additional installation was there. Thanks, Anupam. ...Show All
Windows Forms Problem to update the db and read COM port
Hi everyone I m in trouble, plz help me. I have designed a form application using Access 2003 which stores data. I m working with a weight machine that connects with wire through COM port. the machinne read the weight of object and transfer the value to COM port. Now I m want to know "How retrive the value from the COM port and store in Access DATABASE " Second One is that "I want to update access database from one to another system" Plz help me, its my project work. If you have a VB6, you can use mscomm.ocx. http://www.devhood.com/tutorials/tutorial_details.aspx tutorial_id=320 If you don't http://msdn.microsoft.com/msdnmag/issues/02/10/NETSerialComm/ Use OLEDB related data objects to connect to a ...Show All
Windows Live Developer Forums FireFox bug in V3
I tried my VE v3 app in FireFox and I got the following error: Error: [Exception... "'Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly.' when calling method: [nsIOnReadystatechangeHandler::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] Any help is appreciated. When you say "works for me" you mean the rest of your JavaScript stuff runs, but you don't get a VE map, right Just checking. ...Show All
Visual Studio Tools for Office Creating word template with bookmarks. is this the soloution?
I need to simulate a report sections in word document. report header section is implemented as word header and footer but how could i simulate detail and group sections. thanks in advance Thanks cindy for ur help. Actually we are converting Power Builder Reports to VSTO word documents. we have a power builder report in a format of a business letter what it does is it creates 4,5 or may be more letters when data is populated each addressed to different recipeient. How could i Implement this in word. Header and footer are always same for the given paramter my problem is detail section which contains different data depending on the parameters. Thanks in advance, looking forward for ur reply. ...Show All
Visual FoxPro How to use user-defined DLL in VFP 9.0??
I am trying to call a DLL writen by VC++ in VFP 9.0, but I have and error message: "Cannot find entry point "name" in the DLL" . I wonder that if that DLL file will accompany with VFP 9.0 and how could I check about that If I am trying it with VB6 by adding reference, it still work well. I also try with Define class... implement with Object Browser. But it don't work and the method return .T. when I call it in the pgrogram. Thanks in advance to anyone who can help me find out if I could use DLL that is not Win32API with VFP9.0, or I must use VB6 instead Best Regards VFP can use two types of DLLs. 32-Bit Dynamic Link Libraries (DLL). These you have to DECLARE befo ...Show All
Smart Device Development Disabling Windows Mobile security Warning through RAPI
Hi I've been trying to disable the Security Message that pops up when an unknown app trys to run. I was told that these values are the ones related to that message: [HKEY_LOCAL_MACHINE\Security\Policies\Policies] "0000101a" [HKEY_LOCAL_MACHINE\Security\Policies\Policies] "00001006" However when I use CeRegSetValueEx, I got an access denied error message. Anyone know of a way to disable the security message That's because RAPI does not allow this by default. The only way to get this done is by provisioning a new security configuration to the device. Please find the documentaion here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/wce51oriProvisioningForWindowsMobileDev ...Show All
Visual Basic How can I change the Root Namespace for a Web application?
Hello and Thank you for your support. Where can I change things such as ==> "Root Namespace" within the project properties of a Web Application, the way I can do this within a Windows application. (in a windows application, I select project properties, then click the "Application tab" then change the Root Namespace there. Where can I do this same thing within a Web App Thanks Donna ...Show All
