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

Software Development Network >> Jassim Rahma's Q&A profile

Jassim Rahma

Member List

iamme
MikeL.
JoseEjecutin
KamAbh
Gabriel Lozano-Moran
AshleyC-UK
ChiaraE
Joel Martinez
Al Christoph
mikeymay
peterLH
Keith Patrick
Malleswar
calvin phoenix
Holm76
eldiener
allstar1234
S Roy
ar_pad
Caleb T
Only Title

Jassim Rahma's Q&A profile

  • Smart Device Development Going wireless advice...

    Hi, I am making a business case for our company to update our inventory barcode scanners and I need some advice. If we're going to use the wireless functionality of the scanners to do merge replication with the SQL server, then will we still need a desktop in the inventory area I figure not, as long as the wireless is working and they can just dock the scanners for charging, but I'm just not 100% sure. It seems quite obvious, but I just want to cover my bases. Thanks. You can write a PDA program that can access directly a remote SQL Server. I have implemented an "on-the-spot" inventory updating program for HP iPAQ2490/2495 through wireless network. My company does not use a bar code scanner. We just ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Having a problem rendering a quad with a texture

    Hello- i can't seem to get the quad on the screen. I can render a .x file, but not a textured quad. here is some code: void cBillboard::CreateBillboard() { HRESULT r; VOID* pVertices; v = new CUSTOM_VERTEX[ 4 ]; //create the vertical info. //thisprobably cold only happen once if the billboard isn't changing, but it works for now v[ 0 ].x = 0.0f ; v[ 0 ].y = 0.0f ; v[ 0 ].z = 0.0f ; v[ 0 ].color = myColor; v[ 0 ].u = 0.0f ; v[ 0 ].v = 1.0f ; v[ 1 ].x = myWidth; v[ 1 ].y = 0.0f ; v[ 1 ].z = 0.0f ; v[ 1 ].color = myColor; v[ 1 ].u = 1.0f ; v[ 1 ].v = 1.0f ; v[ 2 ].x = myWidth; v[ 2 ].y = myHeight; v[ 2 ].z = 0.0f ; v[ 2 ].color = myColor; ...Show All

  • .NET Development How increases the CodeCompileUnit in method to the code file in

    Hi all, I'm developing a designer.I want to use CodeCompileUnit to produce a method code,then increases these code to the code file appropriate position(Looks like the dissimilarity which in vs does),ask how I should do Also or generates CodeCompileUnit by code file,how does that do -thanks The CodeGeneratorOptions class has a property on it called VerbatimOrder. This should allow you to organize your ouput in the way you want. At this moment we do not have plans to support Parse. Thanks. ...Show All

  • .NET Development How to detect if an exception has been thrown

    I need to know if in my current thread an exception has been thrown, is there any elegante way to know this I need to add that code to my RollbackTransaction method, I want to know if there is no transaction in the TLS cause something failed previously. Juan Roman wrote: So there is no information in the thread, the stack trace, the app domain that states if an untrapped exception has occurred If it's un-trapped your application exits. I don't know if the ApplicationExit event is raised; but, it doesn't have any included information about why the application exited. ...Show All

  • Windows Forms DataGridView AutoFilter whitepaper and sample

    Are you spoiled by the AutoFilter feature in Excel Do you want the same functionality in the DataGridView control Then my new whitepaper and sample are for you. See: http://msdn.microsoft.com/netframework/windowsforms/default.aspx pull=/library/en-us/dnwinforms/html/DtGrdVwAF.asp The DataGridViewAutoFilter library provides a custom DataGridViewColumnHeaderCell with a drop-down filter list that displays each unique value in a column, and updates the filter of the bound data source when a value is selected from the list. A custom DataGridViewColumn is also provided to make using the AutoFilter header cell easier, particularly in the Windows Forms Designer. Customizing DataGridView column header cells is not as easy as customizi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using Xbox 360 Controller with my PC (newb)

    I am to understand that you can use a 360 controller to develope games with XNA. I have plugged my wireless controller in via the play and charge cable, but all it does is turn my xbox on in the next room. I assume I need a driver, as my computer did recognize new hardware, but do I also need a wired controller There is a 'wireless controller for windows' http://www.microsoft.com/hardware/gaming/productdetails.aspx pid=090 which appears to currently be the only way to get the PC adapter. Yeah thats right you gotta buy a whole new controller.... ...Show All

  • Visual Basic Help on making a Defragmenter

    Hi, not sure if this question goes here, but, I would like to try make my own defragmenting program, any info on how to or where to start to be able to make this in visual basic 2005 pro, I know the theory, but not sure how I can get the info from a disk, and start putting the files togheter, I would like to start this small project using the basic floopy disk (less risk of ruining my Hard drive) so if anybody can give me a hand or guide me some sample code or in the correct direction, I would appreciate it a lot. In advance I want to thank the people that answer me. Have a nice day Not without the Win32 API and alot of head aches trying to marshal calls, structures..... If this is for future ...Show All

  • Software Development for Windows Vista RMTool Test Case 30

    Hi, I am having problem with RMTools. As per this tool this will shutdown and restart application. But this not doing os. following message I am getting when runnnig this tool. Starting Session StartSession() returned 0 SUCCESS: StartSession() Session Key: 75863bc2e2df2e42a3e21c17dbd77ec3 Registering file RegisterResources() returned 0 SUCCESS: RegisterResources() Getting affected apps. RmGetList() needs 2 structs, reboot reasons 0, returned 0xea SUCCESS: Allocating RM_PROCESS_INFO array SUCCESS: GetAffectedApps() My PID: 3140, Affected Apps: 2, needed 2, reboot reasons 0 PID(1:3832, type 1, stat 1) - INPAGEMFC () PID(0:0, type 3, stat 4) - (-r) Ending Session EndSession() returned 0 SUCCESS: EndSession() Though I checked m ...Show All

  • Windows Forms Compile warnings from adding merge modules

    I have an installer that requires three merge modules (ATL, CRT, and MFC), and after adding them in, I get the following warnings when I build the MSI: WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.42.cat') WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.42.cat') WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.42.cat') WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.42.cat') WARNING: Two or more objects have the same target location ('[policydir]\8.0.50727.42.policy') WARNING: Two or more objects have the same target location ('[policydir]\8.0.50727.42.policy') WARNING: Two o ...Show All

  • Visual C++ Is it possible to use clrscr(),gotoxy() in Visual C++

    Please help me! I think the first place to look is the Platform SDK documentation and the Platform SDK sample. I have posted a link to the documentation sometime in the past couple of days; if you look through a couple of pages of this forum you should find that. It might be in the VC language forum though. Otherwise, it should be possible to find the documentation relatively easily. ...Show All

  • .NET Development Hiding inherited members from view...

    Is there a way to downright hide an inherited member without destroying it. Say I derive from a base class and my derived class wants to hide certain members that are public in the base class. How shall I do this Thanks, Devin Devin, exactly what are you trying to accomplish here If you want to "hide" the method from intellisense so it doesn't show up in the autocomplete list in visual studio, you can shadow the method and put a EditorBrowsableAttribute(False) on the method/property. As Luc points out, it is not possible to prevent users from being able to call methods of your base class (for example by casting an instance of your object to the base class) Best regards, Johan Sten ...Show All

  • Visual Studio Cant Pass a parameter into the ReportViewer of a web page.

    Currently I have a page that has a report that loads the report getting the information from a stored procedure. I need to pass a date into the stored procedure for the report to display the results. If I eliminate the parameter from the stroed procedure and the report I can get the report to load on the web page. But I don't want to hard code values. I want the user to pass in the values for the criteria of the report. In this case a simple date range. Here is the code: Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim StartDate As New ReportParameter( "StartDate" , "3/1/2006" ) Dim p() As ReportParameter = {StartDate} R ...Show All

  • .NET Development XSL: sub category 'n' number of loops

    I have a listing of items that can have 'n' number of sub items. How can I loop through each <collection> and all of its sub items and pull out the title of each using XSL I've been stuck on this for awhile. I can use nested loops to pull out each value but thats when I know the upper boundary number of Sub items. Any help would be GREATLY appreciated! Here is the sample XML: <Collection> <Collection> <Collection title="title"></Collection> <Collection title="title"> <Collection title="title></Collection> <Collection title="title> <Collection title="title></Collection> <Collection title="title></Collectio ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Managed Direct3D 10

    Since XNA only supports DirectX 9.0 Where is Managed Direct3D 10 I hope there will be Managed wrapper for Direct3D 10 thanks I am extremely frustrated because I have to put my project on hold until Microsoft lets me know where MDX is going. I have already investigated managed OpenGL wrappers and have come to the following descision. IF MICROSOFT FORCES ME TO USE XNA FOR NON-GAME APPS THEN I WILL SWITCH TO OPENGL!!!!!!! ...Show All

  • .NET Development Login Page validate against the server sql database

    Hi, I want to create a login page that can redirect to the welcome page and display welcome username. But I don't know how to validate the username and password entered by the user against the server database using ado.net. Can anyone help me with it Below I am giving you a sample code: private bool ValidateUser( String userName, String password ) { SqlCommand cmd = new SqlCommand ( "Select UserName, Password From User Where UserName = @UserName" ); cmd.Parameters.Add ( "UserName" , SqlDbType .VarChar ); cmd.Parameters[ "UserName" ].Value = userName; SqlConnection connection = new SqlConnection ( @"Data Source=JERRY\SqlExpress;I ...Show All

©2008 Software Development Network