Software Development Network Logo
  • Visual C#
  • Audio and Video
  • Windows Forms
  • .NET Development
  • VS Team System
  • SharePoint Products
  • Visual Studio
  • Microsoft ISV
  • SQL Server
  • Visual C++
  • Visual Basic
  • Game Technologies
  • Visual FoxPro
  • IE Development
  • Windows Vista

Software Development Network >> Spyrrho's Q&A profile

Spyrrho

Member List

Rajesh Nagpal - MSFT
SukhiNew
grblev
Alan Z
erikkl2000
Yongjun.Wu
RubenPieters
Paul Kjer
hafi23
Deco
mammoo
Abijiths
Chas T
SteffoS
Ning
Mstanglx
Jan Meeusen
hye_heena
jitendra badkas
Michael_P2234
Only Title

Spyrrho's Q&A profile

  • Smart Device Development Does WinSock(on WINCE5.0) have support for Client Certificate Authentication?

    It seemed the "SO_SSL_SET_CLIENT_OPTS" and "SSLCLIENTAUTHOPTS" are defined for this: // sslsock.h #define SO_SSL_SET_CLIENT_OPTS (IOC_IN | _SO_SSL | _SO_SSL_CLIENT_OPTS) typedef struct _SSLCLIENTAUTHOPTS { DWORD dwRequestClientAuth; DWORD dwRedoHandshake; DWORD dwType; DWORD dwIssuerCount; LPBLOB pIssuerList; DWORD dwFlags; } SSLCLIENTAUTHOPTS; However, I tried following codes on Pocket PC 5.0 & Pocket PC 4.2: SSLCLIENTAUTHOPTS clientAuthOpts; DWORD dwBytes = 0; /* set the value of clientAuthOpts */ int sockerror = WSAIoctl(in_socket, SO_SSL_SET_CLIENT_OPTS, &clientAuthOpts, sizeof(clientAuthOpts), NULL, 0, &dwBytes, NULL, NULL); ant the return values, sockerror ...Show All

  • Internet Explorer Development Resource file path in IE7

    Hi, I developed a App using html pages as the UI page, and used IWebBrowser2::Navigate to explore all pages.I build all pages in a UI.dll, does someone tell me the Proper resource file path to set to Navigate If UI.dll is in c:\Program Files, and has subfolder. Does this URL res://c:\Program Files\MyApp\UI.dll/Home/Init.htm is correct and proper thanks. Raff ...Show All

  • Visual Studio 2008 (Pre-release) Binding To a User Defined Dependancy Property

    I'm still new to WPF so I'm sorry if this doesn't make sense. I have created a control that inherits from UserControl called MyUserControl. I want to use this in another project and have that working. I then created a dependency property called TestText that is a string. This will get displayed in the text box via data binding in MyUserControl. If I explicitly set this it works just fine. I want to be able to bind to that property from the window that is hosting the control. However when I try to bind in XAML it doesn't seem to update the field. When I bind using code it works. I'm fairly sure my XAML is okay because I can bind the to a label's content alright. Here is the code I am using: MyUserControl.xaml.cs: namespace CustomControlLi ...Show All

  • SQL Server Anyone know a self extracting tool for a zip file?

    I have a zip file that requires a password to extract the file inside of it. Is there away to do this automatically Can't find any software that does this. Mike   Does the file have to be added as an archive to 7-zip  Is this the only way that it will work   It gets all the way to the folder that needs extracted and stops.  Here is what my expression looks like:   7z x "C:\Documents and Settings\mroush\Desktop\Cnet Apps File\OSU.zip\usr" p-mr1   Mike ...Show All

  • Microsoft ISV Community Center Forums DLookup help?

    Hi there - im building a contact management system and require some help. I have previously had help with VBA in terms of defining what users can and cant do within the system when logging in via a username and password which was incredibly useful. Im now at further along the route and now want to incorporate an activity system that will record all hours that employees will have worked against clients. However we have a lot of clients! The users login name('login_name' which is held in 'tblusers') is also entered into a 'leadofficer' field in 'tblcompany' so that we know which user is responsible for managing that client - this is done through a combo box on the company entry form so it looks up the values from the table 'tblusers'. On th ...Show All

  • Visual Studio Express Editions Compiled CHM?

    I'm looking at the following Help Class info: http://msdn2.microsoft.com/en-us/library/system.windows.forms.help.aspx "You can use Help to show compiled Help files (.chm) or HTML files in the HTML Help format. Compiled Help files provide table of contents, index, search, and keyword links in pages. Shortcuts work only in compiled Help files." If I'm reading this right, all I need to do is include the chm file as a file under my application and reference it's location: Private sHelpFile As String = My .Application.Info.DirectoryPath & "\Resources\help.chm" Then, all I do is call the file: Private Sub InstructographHelpToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e A ...Show All

  • Windows Forms User control - The constructor should not run in design time

    Hi, I am trying to make a user control that consist in a combobox with a certain table. The constructor loads the combo with a table with a dataset that is defined at run time. So, when I put the control at a Windows form I have an error because there is not dataset defined at this moment. The solution : the constructor must run only at runtime. Is it possible Thanks in advance. Hi Andrej, Thanks for the answer. I was thinking to create a separate method...it seems more elegant but if I use the constructor to feel the combo, I have to write less code... These design considerations are very important to me because this my first .Nat app and then each decision now wi ...Show All

  • Visual C# File.Move(string1, string2) error

    System.NotSupportedException was unhandled Message="The given path's format is not supported." Source="mscorlib" StackTrace: at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO.F ...Show All

  • .NET Development Create xml from nested generic lists

    Hi I have created this method: public System.Xml. XmlDocument WriteXmlFromList(System.Collections.Generic. List < object > li) { System.Xml. XmlDocument xde = new System.Xml. XmlDocument (); System.Xml. XmlElement xeRoot = xde.CreateElement( "root" ); foreach ( object o in li) { Type objType = o.GetType(); System.Xml. XmlElement xeClass = xde.CreateElement(objType.Name); System.Reflection. PropertyInfo [] objPropertiesArray = objType.GetProperties(); foreach (System.Reflection. PropertyInfo objProperty in objPropertiesArray) { if (objProperty.PropertyType.IsGenericType) { //i wish to do recurssion on my list System.Diagnostics. Debug .WriteLine(objPrope ...Show All

  • Visual Basic click and drag, howto?

    How to click and drag a component, such as textbox for windows application and smartdevice app For the smart device question you should probably post this on the Smart Device Forum. I don't have much experience with smart devices so I can't give you any help with that part. http://forums.microsoft.com/MSDN/default.aspx forumgroupid=11&siteid=1 ...Show All

  • Visual Studio Supress/Hide - UnSupress/Hide via VB/ASP

    I've got a ASP Page that give symarised sales data that went through a till. In crystal i have supressed the details leaving just a summary of qtys sold. What i want to do is have a tick box on the webpage that will unsupress/unhide the details section and display the full report showing all transactions with there ID numbers. Is this possible easiest way to do this is create a parameter for each section and pass the value of the checkbox to the report. Then do a conditional supress of the section dependant on the parameter value. ...Show All

  • .NET Development Q: DIA SDK not finding SymTagUDT in .NET 2.0 programs

    Hello Everyone: I have been working with the DIA SDK 8/VS 2005/.NET 2.0 for a while now. My ATL/C++/DIA SDK project can interrogate non-.NET project .pdb files just fine, but whenever I try it on .NET 2.0 projects, it never finds any of the user defined types - the SymTagUDT typed in the .pdb. Initially the project started in VS 2003. When VS 2005/.NET 2.0 came out I upgraded. As part of my testing I have removed VS 2003, .NET 1.0 and 1.1, msdia20.dll and msdia71.dll, as well as removing all references to msdia20.dll and msdia71.dll from the registry. (msdia80.dll is installed and registered.) To the best of my knowledge the project settings for the .NET 2.0 programs I want to examine have the proper settings - optimization is ...Show All

  • Windows Forms The path is not of a legal form.

    One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The path is not of a legal form. Hide at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.GetFullPathInternal(String path) at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AddProjectDependencies(Project project) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly() at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ...Show All

  • Visual C# Help - folder's property dll

    Hi.. In windows , when we right click on any folder or file, we get properties . In the properties we can see General/Security etc.. Is it possible to get the properties dll in c# please help This dialog is created by the Shell. To display the properties dialog for an arbitrary file you'll need to call to the Shell. The Shell function is SHObjectProperties . Use P/Invoke to point it to the file and it'll display the property dialog. Michael Taylor - 12/21/06 ...Show All

  • SQL Server MeasureGroups at different granularity in the UDM

    We have run into an issue with Report Builder and was wondering if anyone else has experienced this problem. We have two different measure groups. The first group is transactional at the daily grain and the other is an accounting balance table at the month grain. The measures in the second group are semi-additive. Everything against the cube is working fine. However, when a report model is generated against the cube, queries cannot be built between the semi-additive measures and the date dimension. The transactional table is fine. Has anyone else seen this behavior I should also note that the month key is the same key as the last day in the month for business reasons. Month account balances should be converted to foreign currencies on the ...Show All

©2008 Software Development Network