IronYuppie's Q&A profile
Internet Explorer Development A message for Pawel from TETA
I am developing a VB6 application having a Web Browser control named web1. A simple statement such as web1.navigate http://www.hotmail.com returns Runtime Error -2 (fffffffe). I have IE7 installed on the computer. Application developed on a computer having IE6 installed does not give any such error even when its run in debug mode on computer with IE7. In both cases, OS is WinXP Pro. I have already rectified the problem of ieframe.dll/1 and referenced it to shdocvw.dll Please help. Regards, Vibhu Bansal. Yes, it's related with debug/exe mode but my app not always work in exe mode: - On my home PC win2003EN+IE7+debug mode => error after 3rd execution of navigate2 method - On my h ...Show All
Visual Studio Express Editions Question about converting data types
Good day, I'm having a little problem in C# while reading from a binary file. What I am trying to do is get the decimal value of 2 bytes of hex data, i.e. "0008" in hex would become 8 in decimal data. Problem is, whenever I try to read it it outputs 2048 or something similar, at least not the number I am looking for, which means I should be doing something wrong... Do you have any idea to get a right number out of this My current reading code: -------------------------------- private int packageType; // Nothing interesting to see here either map = new FileStream (url, FileMode .Open, FileAccess .ReadWrite, FileShare .ReadWrite); BinaryReader br = new BinaryReader (map); map.Seek(0, SeekOri ...Show All
Visual Studio Express Editions how to use RSA Message Digest Algorithm MD5
Dear All, I am writing a network application that requires to secure the user credentials before sending them out to the network. I am using native C++ (win32) with Visual C++ 2005 Express Edition for my developing The encoding algorithm that I would like to use to secure the user credentials is RSA Message Digest Algorithm MD5. My question; is there a built in library that offers and supports such kind of encoding Otherwise, I will need to built my own functions based on "RFC 1321 - The MD5 Message-Digest Algorithm". Thanks for your support in advance Bassam Bassam72 wrote: My question; is there a built in library that offers and supports such kind ...Show All
Audio and Video Development Looking for Example of Sliding Control Panel
I'm trying to get a working sample where the control panel (panel of menu buttons) slides up and down from the bottom at any time (on selection). Similar to what was shown in the demo at the CES. I'm trying to use some java script from the popular AJAX style libraries (like Scriptaculous), but so far have had no luck getting it to work. Does anyone have a sample of this type of behavior to share Thanks. You inspired me to write such an example :-) http://blogs.msdn.com/ptorr/archive/2006/07/11/662730.aspx Peter ...Show All
Visual Basic List Folderames in a folder
How do I list the names of all the folders inside another folder Thanks Spotty, Like that, one liner, problem is that in the listbox I'm showing C:\MYFOLDER\Folder1 C:\MYFOLDER\Folder2 C:\MYFOLDER\Folder3 What I want to show is just the folder name not the full path Folder1 Folder2 Folder3 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sizeof(Color) struct / Terrain Rendering issue
I'm working on translating a Terrain generation project from a Direct3D book that I purchased into C#/XNA. I so far have accomplished 1) Generating a height map using the algorithm in the book adapted to C# 2) Taking that height map and rendering it to the screen using a Panel in a Windows Forms app (the panel is passed to the GraphicsDevice). Everything works beautifully. Last night, I built out the classes/structs I needed to convert the heightmap into a grid of patches that then are rendered as a model to the panel. I had some bugs in translating to XNA because of no Mesh object. However, I was able to overcome those. It looks like my terrain is rendering, however, I don't think its correctly using my COLOR data. I built out the s ...Show All
Visual Studio Creating Reports using Crystal Reports for ASP.NET
Below codes is for advance ASP.NET developers Steps: (Pleae if you have easer way post it here...) #1 Creat XSD file and add all fields elements as attribute: < xml version ="1.0" encoding ="utf-8" > < xs:schema id ="Intake_DataSet" targetNamespace ="http://tempuri.org/Intake_DataSet.xsd" elementFormDefault ="qualified" attributeFormDefault ="qualified" xmlns ="http://tempuri.org/Intake_DataSet.xsd" xmlns : mstns ="http://tempuri.org/Intake_DataSet.xsd" xmlns : xs ="http://www.w3.org/2001/XMLSchema" xmlns : msdata ="urn:schemas-microsoft-com:xml-msdata"> < xs:element name ="InvoiceDataSet" msdata : IsDataSet ="true"> < xs:complexType > < xs:choice m ...Show All
Visual Studio Why so many nested levels when adding a project to VSS?
I am using Visual Studio 2005 and VSS 2005 on XP Pro SP2 (so pretty much all the latest revs and what not). Adding a new project to VSS is driving me crazy because it seems to be creating a directory structure in VSS that I simply do not understand. For example, I created a new BI project to work on some SSIS packages. So, for this example, let's say I called my project "SSIS Tests". Visual Studio dutifully creates a new solution and lists 4 standard subfolders and a new, empty package file: + Data Sources + Data Source Views + SSIS Packages + Package.dtsx + Misc Then I choose the "Add project to Source Control" item, log in to VSS and in the "Add to SourceSafe" dialog that is displayed it gives it ...Show All
SQL Server SQL Server 2005 x64: Intermittent "Error: 18456, Severity: 14, State: 10."
Hi, We are experiencing intermittent authentication errors "Error: 18456, Severity: 14, State: 10" on a customer's production server. This is a new server that has just been rolled out in the past several months. Rebooting the server appears to make the problem go away. We are using SQL authentication from a separate server that is running IIS. The application always uses the same username and password to connect. Server info: select @@version Microsoft SQL Server 2005 - 9.00.2047.00 (X64) Apr 14 2006 01:11:53 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 1) select @@version SP1 Sample error from SQL Server errorlog: Date 7/7/2006 10:53 ...Show All
Software Development for Windows Vista Kim's site login
Hi, Has anyone tryed to login to Kim's site ( www.identityblog.com ) useing a InfoCard I have but get no confomation, should I get some On login to the sandbox I get an error, why is this Thanks Luke Hi, I am trying to get a simple web site to use CardSpace, html and javascript are my favourites at the moment, so it would be cool to use these two, a little too ambitous for me I think, as everything seems not to work me :), any help with this I'm not the hottest at javascipt or html as it is, so I need all the help I can. Luke ...Show All
Smart Device Development Windows Mobility Center - Problem with MobilityCenterRefresh API
Hi, I'm currently working on creating a OEM tile for Windows Mobility Center application. This tile shows whether a particular hardware setting is enabled/disabled. Since the code to retrieve that particular hardware status takes some time to execute and slows down the user interface of Windows Mobility Center, I have incorporated a background thread to accomplish that task. Until the thread finishes its task, an intermediate status is displayed. After the thread retrieves the hardware status, it notifies the foreground application to update its user interface by calling MobilityCenterRefresh API. This API internally calls the interface methods of the COM object which provides UI resources to the tile. But in some scenarios MobilityCente ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Designer Property collections
I want to create a menu game component like the one in Mitch Walker's video (http://blogs.msdn.com/xna/archive/2006/08/31/734204.aspx) on the XNA team blog. I got a hardcoded menu working but how do I make it that the developer can add menu items from the property window in Visual Studio like in the video ok its cool what you got, but in the demo version, the menu items have events!!!! so you can design like a text button, I will try to figure this out!!! ...tridex.... ...Show All
Windows Forms DataTable Acts As Intermediator For DataGridView
I have one DataGridViewand i have defined the columns for this datagridview but i don't specify the DataSource for this DataGridView. As a result, it is just a merely DataGridView with columns. After that, i insert a data by using DataGridView1.Items(0,0).Value="data" and however one of the columns is check box column, if the user tick on it, another row will be created. I tried to put this DataGridView1.AllowUserToAddRow=False after the code of inserting the data then the data cannot be added. No matter how i dont want new row to be generated so i think of using DataTable acts an intermediate table and set it as DataGridView1.DataSource. My problem is i have no idea how to specify value for a row of a column ...Show All
Visual C++ a tool for editing text
I just wanted to know if there is any activex component which you can use to edit text. I want it to act as if it is a edtor for any program C/C++....... I am developing a software which acts as a Skill anayser. Provided with a set of programs with bugs, the user is required to debug the program and set the correct results. The software includes options to compile, run and test the program. The number of compilations and runs are also counted to anlayse the skill level. Now, I need the editor to present the user with the program and enable him to edit it..... If you are asking about the language ....I prefer VC++. Thanks ...Show All
Visual Studio Express Editions Game creation
I am a few weeks into programming with VB and i would like to know how to create a simple game such as pong. I'd appreciate any help regarding this subject. DaBadger, The following link is the website of Microsoft Game Technologies Center and enjoy yourself into XNA Developer Center. :-) http://msdn.microsoft.com/directx/XNA/default.aspx ...Show All
