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

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

j_ames2006

Member List

enric vives
EddieMu
foleypro
ajliaks
hanozo
dni
Frederik Vantroys
Teymur Hajiyev
smithsf22
jturpin
swaroop.m
Matt Penfold
BonnieB
Dave987654321
JaguarRDA283361
jamba8
OmegaMan
ashwin_k_s
Bert van Uitert
Xiaobo Gu
Only Title

j_ames2006's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Availability of console SDKs

    Hello, I know that this question might be a bit off-topic in this forum, but I think this is the best place to get the answer. I've always been wondering, why the SDKs for gaming consoles are only available to large companies which are charged large fees for the SDKs. I mean: Shouldn't it be in the interest of the console publisher to make it possible to develop games for it for as many people as possible, considering that every game increases the popularity of the console So, I'd be thankful if someone could explain this situation to me. Regards Opfer RE: Custer's Revenge - Are you kidding i expect at least 80% of the game the club creates to be in this vein. Nothin' but porn, gore and ba ...Show All

  • Visual Studio Express Editions TextBox Question

    Is there a way to only allow integers to be entered into a textbox I would think that this would have to be checked after the data is entered. Please advise. yes there is. you can use the keypress event on the textbox then do the checking, if its not a numeric character then handle it. Example: 'textbox keypress event if Char.IsNumber(e.KeyChar) = false then e.Handled = true end if ...Show All

  • Visual C# using vb6 component ?

    Hi, Is there a way to use vb6 components in C#, just like in old asp (Server.CreateObject)... I tried with Activator.CreateInstance but didn't worked...is continue to as kfor the reference... I am at work and not having MSN (good that I have access to msdn ). And I do not have VB6 too... so I am not able to create dll :-( ...... Are you able to return simple value (not the record set) from the dll in c# ...Show All

  • Visual C# Rounding a number to a number divisable by 5.

    Hi all, I have an application that will store the time where the minutes need to be stored in increments of 5 (0, 5, 10 , 15 etc). What I want to do is to get the current time, then round this to its nearest number divisable by 5. So if 9 was the returned minute from DateTime.Now (minute) then this should be rounded to 10. Is there anyway of doing this Thanks Tryst How about this: public static int RoundToNearestFive( int num) {     num += 2;     return num - (num % 5); } I think that does what you require. Here's what it does for numbers 0 to 20: 0: 0 1: 0 2: 0 3: 5 4: 5 5: 5 6: 5 7: 5 8: 10 9: 10 10: 10 11: 10 12: 10 13: 15 14: 15 15: 15 16: 15 17: 15 18: 20 19: 20 20: ...Show All

  • Smart Device Development Removing the Title Bar from the Form using Compact Framework

    Hi All, i was wondering if anyone knows of a way that I can remove the Title bar from the UI forms using C#. You used to be able to do this using Win32 dialog boxes, however I can't seem to find out how you can do it using managed code. Anyone know Thanks, Hi Rachad, I'm not sure how to do this in the compact framework but could you let us know what you are trying to achieve I may be able to offer an alternative answer. . . Richard ...Show All

  • Smart Device Development GPRS Connection!!!

    Hi Everyone, Well, i want help regarding the GPRS connection. Let me give some details of the work i m doing. Actually i want to send some data to HTTP server and i m using winsock for this purpose.. its working fine with the emulator but for device i need to connect to the internet to send the data .. so the GPRS is the only option... i m using ConnMgrEstablishConnectionSync function to connect the GPRS.. and its working fine, as its returning S_OK. But when i call gethostbyname function to get the IP of the server, it gives an error " HOST NOT FOUND ", whereas by using emulator it returns the correct IP as the emulator use the default Internet settings when connected through ActiveSync... Now can anyone plzz tell me ...Show All

  • Smart Device Development Help! How to get current date and time, how to reproduce an avi file.

    Hi, this is the first time I try to create an application for smart device (Win Mobile 2003 Second Edition, using VC++ native) and I've some problem: - how can I get current time and date (I usually use _strdate and _strtime, but it doesn't works with smart devices). - How can I play an Avi file in my application (possibly frame by frame) (I usually use Vfw32.lib, but I haven't found nothing similar for win mobile). ...Show All

  • Internet Explorer Development IE7 - File Not Found ieframe.dll\1

    Hello, After upgrading to IE7, all of my programs with the "Microsoft Internet Controls" (i.e. Webbrowser) are breaking when I load them in code (compiled still works though). I get the following error: "File Not found 'C:\Windows\system32\ieframe.dll\1' However, if i look in my references, all I can find that is there is the reference to shdocvw.dll, no ieframe dll. If I open a new project and add the controls, then I get the same error. To me there is something broken between the two. The strange thing is, it worked fine yesterday. I don't have my computer set to do automatic updates and I didn't do any updates last night. Anyone else having this issue Regards, Ryan Sur ...Show All

  • Visual Studio Team System VSTT agent error

    Hi All I have been facing problem running the Load tests for quite sometime now. We want to automate the process of running performance test, so we have created a batch file which runs various load tests using mstest utility. While running these load tests, sometimes the Test Runs abort abruptly with the errors: Test/Run was aborted on agent due to error: The Agent process timed out waiting for a start command from the controller. SynchronizedTestTimeoutInSeconds = 120. To rectify this error, I modified the Agent Config files and increased the Timeouts period. Test/Run was aborted due to error: Agent service cannot start the Agent Process or test run stopped on Agent. In Agent Eve ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!

    Now go register!!   Actual contest details to come the week of Feb 5th Plese, Someone at Microsoft.... the drembuildplay site, even though the competition should be global, does not allow non-US people to register. I don't live in the U.S., so I can't choose any state, the zipcodes in my country are 6 digits long, and the telephone numbers are not in the US format.  Edit: didn't see errolian's post before i posted this. P.S. did I mention I passed from neutral state, to exalted state and then down to low-morale state in about 2 minutes .... does this make me emotionally unstable ...Show All

  • SQL Server Error importing data from oracle database to an SQL database

    Hi! When i was importing a database table from an Oracle Database to a SQL database table, the wizard returns this error: Could not connect source component. Warning 0x80202066: Source - VB_PERMISSIONS [1]: Cannot retrieve the column code page info from the OLE DB provider.  If the component supports the "DefaultCodePage" property, the code page from that property will be used.  Change the value of the property if the current string code page values are incorrect.  If the component does not support the property, the code page from the component's locale ID will be used. Error 0xc0204018: DTS.Pipeline: The "output column "PE_ACTIVE" (34)" has a precision that is not valid. The precision must be between 1 and 38.  (S ...Show All

  • Software Development for Windows Vista DirectShowLib

    I am using DirectShowLib C#, I want to know which class in DirectShowLib is Equivalent to IAMCameraControl or ICameraControl Hi Eman, I took a quick look at the Interfaces.txt file that came with DirectShowLib and in the (Untested/deprecated...etc) interfaces I found the IAMCameraControl. In order to use it in DirectShowLib, you need to compile the DirectShowLib library with the conditional compilation symbols: "ALLOW_UNTESTED_STRUCTS;ALLOW_UNTESTED_INTERFACES" After that the IAMCameraControl interface is accessable in the Library. As for the ICameraControl, I have no idea where it is :). I hope this was of help. Regards, Fadi ...Show All

  • .NET Development Ink Overlay Handle Leak

    I have an application which seems to have a handle leak due to using the InkOverlay class. Every time I open a form that creates a new instance of InkOverlay it increases my handle count by 10. When I close and dispose of the form, my handle count only drops by 5. I am using NET 1.1 at this point on a desktop application that can also be run on a table PC. Below is a simple application that I have used to test this theory. public class Test : System . Windows . Forms . Form { private System . ComponentModel . Container components = null ; public InkOverlay oInk; public Test ( ) { InitializeComponent ( ) ; oInk = new InkOverlay ( ) ; } protected override void Dispose ( bool disposing ) { oIn ...Show All

  • Windows Forms Multiselect view in the listbox

    Hey all, I wanted some help.. Scenario, i wanted to higlight multiple values in a listbox based on the database.. say a student is allocated to different subjects.. so i wanted to show when a particular student is selected, the subjects that he is allocated to shud get selected from the list of all the available subjects. I somehow cant able to do it one at a time cuz it gets overwritten and the last subject is only highlighted... heres the code.. foreach (Student tmp in _CollectionStud ) //(collection stud is an arraylist) { foreach (ListItem _Tmp in _ListSubjects.Items) { if (tmp.PK_STUD_ID.ToString().Equals(_Tmp.Value)) { //TODO Write code to higlight the correct ones A ...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

©2008 Software Development Network