Anoush's Q&A profile
Visual Basic How to Read, Write, Modify & Remove Application Settings From Config File Using VB 2005?
.NET Framework 1.1 provides System.Configuration Namespace which exposes methods for reading information from the config file, but there are no methods for modifying the contents. Is there anyway this can be done using Visual Basic 2005, without implementing a custom class I have already set it up to use this sort of settings setup and I have used the My.Settings.Save() command after having made a series of changes. I set it up s ...Show All
Windows Forms Customize Tabpage
Is there a bind a inherited tabpage to a inherited tabcontrol (the designer uses allways the standart tabpage...) Regards Hansjorg http://www.dotnetrix.co.uk/tabcontrols.html --> TabControl using custom TabPages. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. .x file exporting from 3DSMax using Skin modifyer
hi, Is there a version of the MS .x exporter that supports Max's Skin modifyer for wieghted meshes used in animations. If not, is support for this planned The Skin modifyer has many advantages over Physique. Just out of curiosity, what is the main difference between the two that makes Skin unusable with .x Aren't those modifyers simply interfaces for a vertex weight value Its just a weight value in the end! :) Urgent ...Show All
Visual C++ Getting Process info in UNICODE
Hi I am unable to enumerate process in unicode build what code should i use for enumerating process info Currently I m unable to get the info with this code, if i run without UNICODE its working perfectly FEnumProcesses = (PFEnumProcesses)::GetProcAddress(PSAPI,( LPCSTR )_T("EnumProcesses")); FEnumProcesses always NULL Regards See my reply to your other post: http://forums.microsoft.com/MSDN/ShowPost.aspx Pos ...Show All
.NET Development Trapping Errors in Web Service Function Calls
In my web service, I have a function who purpose is just to verify a good connection has been achieved to my web server. I call the function 'ping'. <WebMethod()> Public Function Ping() As String Dim PingMessage As String = "Contact Established" Return PingMessage End Function My command which invokes the function looks like: Dim MyConnection as string Try MyConnection=CallWebService.Ping Catch MyExcept ...Show All
Visual C# How to Store and access MS Word document from MS Access DataBase.
Hi, I think it is possibe to store the MS Word document to the database. Using OLE Object, we can store the document to the database. It has capabile of storing images, word document files, Excel sheets, pdf files, etc ., to the database. But I want to know how to access the document from database. Actually when accessing images from database, we need to remove the table header infornation [78 Bytes] form the byte array. Its like, byte ...Show All
Visual Studio Tools for Office How to insert my object into Word document?
For example : I have a WinForm graph control. I want to insert a icon in a Word document so that when the user double click the icon, my program will launch and show the corresponding graph. This looks like a problem related to OLE, but how can I make a WinForm app as a OLE Server Could I use VSTO to solve this problem Thanks! VSTO does not provide any of the plumbing required to allow using WinForms applications as OLE servers. Alth ...Show All
Visual Studio Team System Handle for the Process Template of a TeamProject
I want to get a handle for the Process Template of a Team Project created in TFS using VSTS. I need the handle to get what are the elements which are present for that specific project. Please help me out. I need it immediately.. Could you please elaborate on what you are trying to achieve Are you looking for ways to traverse template metadata or just want to see which nodes are going to be in the Team Explorer for a part ...Show All
Microsoft ISV Community Center Forums Outlook new Mail item
Hello *, I have two questions that I can't figgure out.... I have the following code (very simplified): Set mailItem = CreateItem(Outlook.OlItemType.olMailItem) mailItem.Body = "Some text..." mailItem.Display (False) Questions are: 1. How to change the status of the message so that when I close this new message I do not get window "Do you want to save changes " 2. How to insert autmaticly signature Now I parse sig ...Show All
Smart Device Development PInvoke Strings in C#
Can someone provide me the correct declaration of the following C++ method in C# Tried couple but didn't work. Can someone help me with the code please My code goes something like this //C++ method DWORD GetDevName(OUT LPWSTR *ppszProd OPTIONAL) { DWORD rc = SUCCESS; WCHAR DevProd[] = L"MagicPoint"; *ppszProduct = (WCHAR)&DevProd; return rc; } //following are C# method declarations that didn't work / ...Show All
Visual C++ calling a WINAPI function from a managed main creates linker error
OK, here is the latest saga from this newbie: Whenever I try to call EnumDesktopWindows or GetWindowsText the linker vomits out the following: LocateWindow.obj : error LNK2028: unresolved token (0A00000D) "int __stdcall EnumDesktopWindows(struct HDESK__ *,int (__stdcall*)(struct HWND__ *,long),long)" ( EnumDesktopWindows@@$$J212YGHPAUHDESK__@@P6GHPAUHWND__@@J@ZJ@Z) referenced in function "public: void __thiscall LocateWindow::setPopulateWindow ...Show All
.NET Development Prepending data in a log file
I can open a file with filemode Append. What I really want is prepend, so the latest records are at the 'top'. Is there an efficient way to do this for log files which may be quite large and updated quite frequently Or is the solution to provide a viewer that displays the data "upside-down" hi paulustrious, well how about doing the reverse create a temp file and insert the latest log, after that app ...Show All
SQL Server Lookup Transform with Variable Parameter
Is it possible to use a VARIABLE in the Lookup Transform I am setting the cache mode to partial and have modified the caching SQL statement on the advanced tab to include the parameterized query, but the parameter button only allows me to select columns to map to the parameter. I need to use a variable instead. I see the ParameterMap property of the transform in the advanced editor, but don't see how I can use this to map to a variable. Can ...Show All
Visual Studio 2008 (Pre-release) Could not locate the assembly "WindowsUIAutomation"
I just installed Visual Studio 2005 Team Suite Beta 2 Version 8.0.50215.44 (Beta2 50215-4400) and WinFX SDK Beta 1 Web Setup, and Microsoft Visual Studio Extensions for WinFX Beta 1. I go to create a brand-new Avalon Application and without adding a single line of code I compile. I am given the following errors: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not ...Show All
Visual Studio Team System Setting TFS SC through code
Hi is there a way to set proxy settings through code (TFS object model) That is to force file "gets" to use /not use a proxy. I think the only way is to modify the registry directly. HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl\Proxy ...Show All
