robert okoroafor's Q&A profile
Smart Device Development Download of CAB from Webform fails on Pocket PC
I am working on a project where I have to enable downloading of CAB files directly to a Pocket PC (Windows Mobile 2003 Second Edition). On the webform is an image button, the code behind gets the file (contained in an SQL (2000) table). If the button on the webform is clicked (on a Pocket PC), the 'save as' dialog shows the file size and filename correctly and appears to download. The problem is that the downloaded fi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiple objects
Hi all, If I need let us say 10 objects that are doing different things (one is rotating around the z axis, one is rotating around the x axis, another one that is moving in the y direction...and so on). Can I put all objects into a single vertex buffer or do I need to make 10 buffers for the 10 object If you know of any tutorials that deals with this subject you are more than welcome to give me a link to that. thanks, Anders ...Show All
Software Development for Windows Vista Behaviour of existing instances in updated workflow
Hello, If I have a persisted instance of a workflow that was defined in a separate assembly, and later I modify the workflow definition and rebuild this assembly. What happens when I restart the instance Is there any standard way to manage versioning on the instances Regards, Mk The standard way to manage versioning on the instances is exactly as Arjun says. For produ ...Show All
Visual Studio Team System Team Foundation Client - empty help
Help comes up blank. I've looked around and it APPEARS that the help has been installed on the system, but apparently the help system can't find it. Any suggestions daniel Olenick & Associates. Thanks Rob. Installed MSDN off the VSTS disk, and contents and index work fine now. Still an 'object reference' error with "How Do I", but this is a great improvement (I almost hardly ever use "How Do I" anyway <g>). ...Show All
Windows Forms Disable Close Button
How to disable the Close button on the title bar of any windows form If you assign false to the ControlBox property, you will not see the entire Minimize, Restore / Maximize and Close buttons, but i want only the "Close" button to be disabled. Any idea on how to achieve this No problem, now you add a label on top of the form and place a button with cross image. Use this button as close button. Hope this helps... Thank you, ...Show All
Visual C# Use DllImport attribute to invoke functions in a native DLL
I need to transfer information through shared memory between 2 exe files. I've found a C++ code that pretty much do exactly what I need to do, but I don't know how to do it in C#. Is there a way to convert this code to C# or write something in C# and would be able to receieve information for the C++ code Sample C++ Code: #include <windows.h> #include <stdio.h> #include <conio.h> #define BUF_SIZE 256 TCHAR szName[] ...Show All
Visual C# Whatz the format of this file ?
Hai....., Didn't find option to attach the file, but look below to see how the content of the file looks like. I don't know whatz the format of this file is (My boss says that its ISAM). The main file doesn't hold any extension, but it does carry an accompanying file that has the extension .idx . Please help me determining what driver i must use in order to retrieve data out of it and how the connection string should look like ema ...Show All
Windows Forms Application.exe.config
When I select Publish, the Application.exe.config file is not included. When I run the application after it installs, I get the error "Unable to access configuration data". How do I correct this I found the solution, going into the "Settings" tab and selecting the link will create an app.config file. When published, this file will be renamed as myapplication.exe.config and deployed. ...Show All
.NET Development Sorted DataTable: Select() -> not sorted anymore
I have a sorted DataTable and used Select() to get a DataRow[]. But DataRow[] is not anymore sorted like the DataTable. How can I get DataRow[] in the same order as the DataTable HuberSepp, You can use the sort in the DataTable.Select() to provide the sorting of your datarows. DataTable rows are not sorted by default, so I think you are using a control wich uses a DataView to sort your data. Can y ...Show All
Visual C# editing resource files
I am using a ResourceManager to retrieve values from a .resource file. I would like to be able to update the values in the file from within the application. Can this be done How Thanks. Use the Resource editor Lutz Roeder has writen, you can find it here . ...Show All
Visual C# File manipulation / Documentation Library
Does anyone know one for free With file descriptions, categories, user authentication (MSSQL)....made in C# Thanks ...Show All
SQL Server Row and Cell Security
I am trying to implement row-security in SQL 2005 but i make a query to make a view CREATE VIEW vwVisibleLabels AS SELECT ID, Label.ToString() FROM tblUniqueLabel WITH (NOLOCK) WHERE ID IN --Classification (SELECT ID FROM tblUniqueLabelMarking WITH (NOLOCK) WHERE CategoryID = 1 AND IS_MEMBER(MarkingRoleName) = 1) AND --Compartments 1 = ALL(SELECT&nb ...Show All
Visual Studio Express Editions Newb Question: Opening Forms inside main form
I'm completely new to programming, my knowledge only goes as far as html, css and light php so I'm way in over my head. :) I've been through the tutorials but all the teach is how to pop open a form in a new window. I need it to display as though it was seamless. I've created Form1 and I want to use that as the main design of everything. What I need to do is open up all other forms created inside of Form1. For instance, if someone clicks on the ...Show All
Visual C# How do you change the value of an already created cookie?
Below is the code I'm currently using on my login page to save the username and password. I'm going to later encrypt it but for now I'm simply setting it. HttpCookie UNcookie = new HttpCookie("TheUsername",txtUsername.Text); UNcookie.Expires = DateTime.Now.AddYears(1); HttpCookie PWcookie = new HttpCookie("ThePassword",txtpass.Value); PWcookie.Expires = DateTime.Now.AddYears(1); Response.SetCookie(UNcookie); Response.SetCookie(PWcook ...Show All
Visual C# Could the compiler only build modifled project?
Whenever I build the solution, the C# compiler build a lot of projects even the files in the project has not been modified. This costs a lot of time. Is there any option that could make the compiler only compile the modified project(projects contains files that has been modified since the last build) Thanks! It is possible but unlikely. I believe there is a project setting option which I have seen that would likely tur ...Show All
