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

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

GenesisX

Member List

Mario Almeida
Dudley
CirdanCelebrindal
manjunath cv
hsndds
paso
gkostel
Berky13
Grant Jenkins
codingonthescreen
SidharthMalhotra
Rogerrr
Tommysaurusrex
Alan Z
SalmanSheikh
PaulMD
Abunet
R. Muti
Radamante
Shrouber
Only Title

GenesisX's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Game Engine: Xna5D Alpha Release!

    I have been posting here... trying to post a bit more and get involved with helping. My name is John Sedlak (hence the username), I am 20 years old and am currently taking a semester off to work and code in my spare time. I will continue being a poor college student this spring however... anyways. Here is my project so far: Xna5D! Since late September / early October I have been working on the sequel to my MDX2.0 engine, Dx5D. I have finally got the code to a state that is acceptable for some sort of a release, hence the Alpha tag. Xna5D is all 2D based code so far, although 3D is certainly planned for its future. Here is a breakdown of what is in this release and how to get it. For more information please visit http://jsedlak.org/ ...Show All

  • .NET Development Help with TripleDES and RC2 cryptography.

    I have 2 questions - 1) I get the following Exception when I try to decrypt data using TripleDES. - "An unhandled exception of type 'System.Security.Cryptography.CryptographicException' occurred in mscorlib.dll Additional information: Specified initialization vector (IV) does not match the block size for this algorithm." How do I make things right The code is as follows - /* Provides TripleDES encryption and decryption using classes in the .net Framework 1.1 */ public class TripleDES_Cryptography { public static string Encrypt(string plaintext, string key, string IV) { TripleDES des3 = new TripleDESCryptoServiceProvider(); des3.Mode = CipherMode.CBC; byte[] by_plaintext = Encoding.ASCII.Ge ...Show All

  • Smart Device Development RSA Encryption

    Hello, Is it possible to encrypt a string on the pc and then decrypt it on the pda I am using the same keys in both projects. I can encrypt and decrypt on the pda. I can encrypt and decrypt on the pc. When I try to decrypt a string that has been encrypted with the pc code, I get a bad data error. I am using compact framework 1 and the opennet cf rsa objects. Thank you in advance, Paula Paula, This question relates to the OpenNetCF Smart Device Framework. They have a forum ( http://www.opennetcf.org/forums/default.asp CAT_ID=4 ) which may be able to help. If you are able to, you may also be interesting in moving your project to version 2.0 of the .NET Compact Framework. Version 2 adds th ...Show All

  • Visual Basic Adding up

    Hi there and first of all Merry Christmas and Seasons Greetings to you all! I am having a mental blank which is hindering my completing a project that I am working on for uni. I am developing a travel agent booking system that allows a customer to register and book themselves and multiple other people to go on holiday. The cost of the destinations are all the same however costs do vary depending on the travellers age. There are also 4 activity's that travellers can book which also have variable costs associated with them. This is all to be stored to a database (I have this bit covered) What I am asking is how would you go about making a summery screen display the selections and costs of each traveller. I have thought about using variables ...Show All

  • Visual Studio 2008 (Pre-release) Creating WCF clients from Type objects

    I was wondering if there is a way to create a WCF client by passing a Type object of the interface representing the service contract. For example: [ServiceContract] public interface IFoo { [OperationContract] void SomeOperation(); } class Program { static void Main() { IFoo proxy = new ChannelFactory(typeof(IFoo)).CreateChannel(); } } I know that ChannelFactory does not have a method CreateChannel() but I was wondering if there was a way to do the same thing. Thanks, Wells Wells,   You are right, there is no constructor for dynamically creating a ChannelFactory based on the type. I had the same problem for my Workflow Adapter/Connector Pair  solution where the client proxy w ...Show All

  • .NET Development stored procedure Parameter information

    Hello All. My concern is how to make a stored procedure paramter accept null values, do not accept null values and biggest concern is how to check programatically whether parameter accepts null values or not I have used DeriveParameters of commandbuilder class, but no use. The parameter object which it returns and its IsNullable property is not giving correct values. I have also used some system stored procedures but they are also not showing accurately whether parameter accepts null value or not. Please help me out with example stored procedure and programm example in vb.net. I would be very thankful to all you friends. here is some pseudo code that should get you started: Dim p As New ...Show All

  • Silverlight (formerly WPF/E) Store image object in a javascript object

    I currently have an application that creates an image object in pure javascript using the following code: this._image = new Image(); $addHandler(this._image, 'load', Function.createDelegate(this, this._onLoad)); this._image.src = url; The neat thing about this is that I can wait with putting the image element into the HTML document until the browser actually has it loaded. So basically my onLoad function just add's it to the DOM and hides a progress indicator: $get('images').appendChild(this._image); this._image.style.height = "50px"; this._image.style.width = "50px"; $get('progressIndicator').style.display = "none"; Now, I want to do the exact same thing using XAML, but as far as I can see, you j ...Show All

  • SQL Server Impersonation issue - "Login failed for user 'DOM\_svcAccnt"

    I strangely receive this error when trying to deploy my cube: Error 1 OLE DB error: OLE DB or ODBC error: Login failed for user 'DOM\_svcAccnt'.; 28000; Cannot open database "Property" requested by the login. The login failed.; 42000. 0 0 Error 2 Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Property', Name of 'Property'. 0 0 The only change I've made recently is adding the Property Datasource, adding additional tables to one of my DSVs, and adding two more dimensions. ( I already had two other datasources that are different databases on the same server, and they work fine.) I configure all the datasources to use the service account for imp ...Show All

  • Visual Basic This LoaderLock Error msg prompt out each time i stop the program in VS 2005

    The program is running correctly, but the problem is, each time i Stop Running the testing program, this error Message is prompt out.   1."No Symbols are loaded for any call stack frame. The source code cannot be displayed" 2. LoaderLock was Detected Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.   Troubleshooting tips: Get information about MDAs   How to Solve this error What is the effect of this error What the means of LoaderLock I suspected the Error Msg is come out due to I am using the Chart Viewer. Please kindly help Thanks.   ...Show All

  • Smart Device Development JPG image loading and rotation on Pocket PC 2003

    I have developed an app on PocketPC 2003 using VS2005. This application interfaces with a camera and retrieves JPG images from the camera. The app displays the images as thumbnails and allows the user to click the thumbnail to get the full size picture in a scrollable window. This all works fine, however loading the JPG is slow and rotation (the way I am doing it blows out the memory, no leaks that I can find. Image size: 2048(w) X 1536(h)). I am using imgdecmp library to load the JPG image to a DDB bitmap, and implement rotation by converting the DDB to a source DIB, then creating a destination DIB with rotated dimensions, then copy the source DIB to the dest. DIB, one pixel line at a time (very time consuming). When I use the Pict ...Show All

  • Visual Studio How to change the paper orientation to Horizontal ?

    Hello Gurus, I'm developing with VS2003, ASP.NET with Crystal Report for VS.NET, and I need to change the paper orientation of a Crystal Report to Horizontal... How to do that I tried to follow the instructions in: http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do cmd=displayKC&docType=kc&externalId=c2014205&sliceId=&dialogID=3086149&stateId=1%200%203082728 ("How to increase the page width of a report" ) But no success.... please, help ! I got it: Rigth click on your report designer: select item Designer-> Set up Printer -> check Orientation - Horizontal ...Show All

  • Visual Basic Passing things from Form1 to Form2 and back

    Hi everyone ! Imagine this : I have 2 Forms: Form1 and Form2 Form1 is the startupform and holds a button, Button1 , to show Form 2. Code: Dim F2 As New Form2 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click F2.Show() End Sub On Button1_Click an new Form2 is shown. Form2 holds a button wich should change the text of Form1: Code: Dim F1 As Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click F1.Text = "hello" End Sub This gives the result : Object reference not set to an instance of an object. I know i ...Show All

  • Visual Studio Express Editions check whether file is empty or not

    i want to know how files are check for emptyness.i can do it for text file but i want to know how i doing it for other file types yes empty .txt  size is zero but empty .doc files....empty file size is differ from file type to type so i need help ...Show All

  • Windows Search Technologies WDS query results not correct

    Today I installed WDS 3.0 beta2. I had the same problem with v2.6.5 When I search for (for example) from:hp my results are not complete. (some mails with @hp.xxx in de fromaddress are not showed.) When I search for (for example) from:hp.com I've no results at all. A quote from the help: from:name , example from: jake Finds items with jake in either fromName OR fromAddress, since "from" is a property name for both fromName and fromAddress. I did some other tests and found the following: when I query a part of of the fromaddress, it works only if that part is from the beginning of the fromaddress: Example: I've a lot of mails from gdvl@rug.be from:gdvl => all results from:gdvl@ru ...Show All

  • .NET Development subquery doesn't work (using VC#, *.csv, ADO.NET , OLEDB)

    hi, I have a query like the following, SELECT [GATEWAY],[IPADD], Mobile, Dhaka, NWD, TOTAL FROM [rawdata.csv] where CVDate([START]) >= '7/29/2006' AND CVDate([END]) <= '8/23/2006' AND [GATEWAY] IN (SELECT [GATEWAY] FROM [clients.csv] WHERE [CLIENT]='MR. XXX') GROUP BY [GATEWAY],[IPADD] ORDER BY [GATEWAY] it returns no rows. but I loaded all the csv files in MySQL. then the equavallent query for the above sql returned results. what is the problem did I mistake or I have the problem with conception Thank You Shiplu Try enclosing the date values within # sign characters instead of single quotes. I think what's happening is that you're performing a string comparison instead of a date comparison. ...Show All

©2008 Software Development Network