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

Software Development Network >> Raphael Chan's Q&A profile

Raphael Chan

Member List

nickwilliams
Robert F Bouillon
brian_tsim
samantha chandrasekar
Hockey Nut
errolian
Mahesha
mendiola_loyola
Maxim Michtchenko
Bill Cumming
BobP - BIM
tom_7
Fieldzy
Ruurd Boeke
MLyons10
Frank S
sbni
haguna99
IS dude
Chris Honcoop
Only Title

Raphael Chan's Q&A profile

  • Visual Studio Reports

    Hi! How can I made the query parameters of my dataset be set as report parameters I have a report (*.rdl) that calls a dataset that have a query parameter (@param1) And I have the report in the report server. But it displays an error because it doesn't find the declaration of the variable (@param1). I think the solution is to put the query parameter as a report parameter... but How do I pass it to the dataset (*.xsd) Please help me! If the explanation of my problem is horrible please contact me and I will try to explain it better.... :) 1. Build dataset like: "select field1, field2 from table where field3=@param1" 2. ReportViewer control is connected to ObjectDataSource. Obj ...Show All

  • Audio and Video Development Maintaining State - script vs markup

    I've got a new guy I'm training on HDi and he's asking the same questions I did when I first start coding in HDi. And I realize I never get definitive answers on the best way to maintain state. For example, it seems like you should be able to maintain the state of several buttons and menu operations in markup using state:value(). But I have never been able to get this work and the only solutions I've seen in markup (in production HDDVDs and samples) involve using dummy elements to hold a "value" for the state of the menu. Even Peter's example use this design pattern (see blog), and he prefaces his example with the same perception that my team does: this seems hokey/messy. Note this conversation between the two of us: ---------- ...Show All

  • Windows Forms list box Items

    can anyone help me out... I've already populated a listbox with the ID: listItems... now I want to reorder the items... by having two buttons.. up and down buttons.... but once Ive selected an item... The SelectedIndex returns -1... so I cant move the item.. help!!! Move Up: if (listBox1.SelectedIndex > 0) { int i = listBox1.SelectedIndex; object idx = listBox1.Items[listBox1.SelectedIndex]; listBox1.Items.Remove(idx); listBox1.Items.Insert(i - 1, idx); listBox1.SelectedIndices.Clear(); listBox1.SelectedIndex = i - 1; } Move Down: if (listBox1.SelectedIndex <= listBox1.Items.Count - 2) { int i = listBox1.SelectedIndex; object idx = lis ...Show All

  • Visual Studio Where can I get December 2005 version now?

    Hello, please where can I download Dec 2005 version now All links redirect me to June 2006 version which doesn't work with Smart Client Software Factory right now. Thank you, Borek Before doint what you suggest, I had tens of errors. I found the "Specific Version" setting and that really helped with almost all errors - except the one I posted. I don't know how to overcome this but I heard that the new SCSF is only one week away so maybe it'll be better to wait... ...Show All

  • Visual Studio Team System VSTE Crash on Rename of WebTests and OrderedTests

    Back on April 19, 2006, the following problem was posted regarding VSTE crash problems whenrenaming webtests. I didn't find any further thread information/answer/resolution/suggestion. I'm experiencing the same problem... but with not just webtests... but with orderedtests, as well. Is there a suggested solution available Tx dgorena_MS (Expert): Q: If I go into Solution Explorer and attempt to rename either webtests or folders that they are in, there's a 50% chance that VS just shuts down. Re-opening the project and showing all files shows that both the original and renamed files are there. A: Is this something that you can repro for any project or a specific project We definitely want to know the cause of this and help you ...Show All

  • Visual Studio Express Editions DateTimePicker

    i am using the datetimepicker and save the value to a DateTime variable. I am then sending the data to a file. I do not want the time to be sent. How do i accomplish this I only want the date to be stored in variable date, not the time. DateTime date = dateTimePicker1.Value; thanks you can use the date time ToString() method to just get the date itself. Example: string theDate = date.ToString("ddMMyyyy");   this will just return the date format you are after. Here is a list of the string custom formats you can use to get the date time string back in the format you like: http://msdn2.microsoft.com/en-us/library/8kb3ddd4.aspx so your code could be: this.theDataTimePicke ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Buying Pre-made models for XNA

    What is the best source to buy pre-made models for XNA Does anyone know of companies out there that will make custom models on demand I would also like to know what the best meshing/modeling tool for XNA. We have been playing with Blender 3D. I have tried incorporating pre-made models from turbosquid.com and not all of them work. The ones in .x and .fbx format work fine, but most of the texture size are not in the factor 2 scale, and we might need to manually resize them. Thanks Kyle_W, we are an academic group at MIT and are working on an RFID simulator. We need to build accurate models of buildings, such as warehouses and retail stores, for our RFID enabled robots to move through. We might also need a model of a city. I ...Show All

  • SQL Server SQL Reporting Services WS - check user input

    Hi, What is the best way of ensuring that users of a report entere data in all the provided input boxes I have written a vb function that checks the above requirement – but when I deploy my report and use a Reporting Services WS to retrieve the data the function no longer works. Any ideas any body Thanks Then you probably would need to built a custom web site before calling the Reporting Services. That customization is not supported in Reporting Services. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms DataBinding , wrong values

    Hi! I make DataBindings in my app and don't work good, binding controls show erroneous values. I have two DataTables, PersonsDataTable with columns{"ID","NAME","LNAME","PHONE","LANG_ID"} , and LangsDataTable with columns {"ID", "LANG"}. I'm trying that when i change the value in cmb_Combo, all controls changes to the its respective new value, but altought all controls changes its values ... ALL VALUES ARE WRONG !! I don't why, and i don't know where obtain this values, but point to an erroneous register .... i'm desperated, because i thought that was a correct values, and today, by chance, i test the values with the SQLServer ... surprise! Please help. I stoped the code to see the DataTables content and is correct. ...Show All

  • Smart Device Development Symbol MC70XX series physical assigned button

    Hi, I am working on Symbol MC70XX device. I assigned buttons from Start_Settings_Buttons to some programs but I can not find the right physical keys for these assigned keys to start the assigned programs. For example for Button 1, what key do I press on the device to start the assigned program Any advice would be appreciated. Thanks Bahman Thanks, I did it, but no one of the keys starts the programs. Also I have looked at the link but I couldn't find the right answer. I mean on the symbol device, which key is Button 1 and so on uo tp Button 4. Thank you ...Show All

  • .NET Development Unexplained CryptographicException : Padding is invalid...

    I wrote the following functions to encrypt and decrypt a file, and they seemed to work perfectly. However, once I modify the data being saved 2-3 times, I get the following error: System.Security.Cryptography.CryptographicException : Padding is invalid and cannot be removed. at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(...) at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(...) at System.Security.Cryptography.CryptoStream.Read(...) at Decrypt(String cipher, String password) public static string Encrypt(string plaintext, string password) { RijndaelManaged rijndaelCipher = new RijndaelManaged(); byte[] plaintextByte = System.Text.Encoding.Unicode.GetBytes(plaintext); ...Show All

  • Visual Studio Express Editions StreamWriter function

    In visual basic 2005 express edition.... what line of code do you use to read and write to a text file.... I have the older book and it says to use StreamWriter(File.Open _ ("Filename", Filemode OpenOrCreate)) And my visual basic keeps giving me an error... what is thew correct line of code to use Greatly appreciated Newb Hi sorry to be such a bother but my version of visual basic 2005 express edition does not recognise the StreamWriter function even after using imports System.IO so i'm not sure what is going on there. I tried a help search but it does not find anything for StreamWriter in local help.... is there perhaps another function used instead of streamwriter in the express edition.... because the tutoria ...Show All

  • Windows Forms how to void the TabIndex property so labels cannot be tabbed through?

    Is there a way to void the use of the TabIndex property I have a form with textboxes and labels, but I don't want the labels to be included in the list of controls that you "tab through". I want to be able to tab through just the text boxes, and then when finished going through all of them, it should go back to the first textbox, rather than having to go through each label before doing that. Thanks! Ah, I forgot that you were talking about Label. By default the default TabStop for a Label is false, so it shouldn't be tabbable anyway. Also, Label overrides TabStp and marks it with Browsable(false) so it won't appear in IntelliSense. I guess the question is why are your Labls TabStops true in the first place ...Show All

  • SQL Server Error: Number (1204) Severity (17). Running out of locks

    Hi, First of all, my apology. I'm not sure if this is the right SQL server forum. Moreover, this didn't even happen on SQL Server but Sybase 11.9. But I'm thinking that the same situation might happen on SQL Server and I can't find any Sybase forum to run this by some experts. I got the following error on a dev server: Error: Number (1204) Severity (17). SQL Server has run out of LOCKS. Re-run your command when there are fewer active users, or contact a user with System Administrator (SA) role to reconfigure SQL Server with more LOCKS The number of locks was set to 10,000. I set it to 15,000 and ran the same code: Same error. I set it to 20,000 and ran the same code: No error. I set it back to 15,000 and ran the same code: No erro ...Show All

  • .NET Development Trying to pass parameters to my Windows Service but how?

    hi everyone, From my Service Manager built-in in MMC no problem at all because I can perfectly allocate both parameters in "start parameters" box but how do the same from NET START command Or even better, how from another VB application I've tried to do this: NET START "MyService", "sql1","Bd1" but it did not work. Let me know if possible do (at least) from DOS session. Thanks in advance for your time. I've seen sc utility but it doesn't support parameters either This has nothing to do with arguments. OnStart() should quickly return when being called. Usually, the only way to accomplish that is to have it start a thread to do the real work. ...Show All

©2008 Software Development Network