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

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

TinyGuan

Member List

Ben Vanik
J. Nail
Kenneth Gangstø
RichLeyshon
fj64
Maxbaviaan
Deepu.MI
Mr_White
qzrlsd
Penicillin
CJKeatley
Tom Frey
gumtoo
Trevor E Hilder
SarasMax
Viren Kapadia
Limehill
PsyCadelik
hrubesh
Sonybglr
Only Title

TinyGuan's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Bypassing Categories

    Is there a way of bypassing the Categories volume when playing back sounds through the auditioning server I'm trying to set individual sound levels and I'd like to be able to bypass the category's level setting when doing this. Alex The auditioning server takes into account all the volume controls, so no, there isn't a way to bypass the category's volume levell when auditioning the sounds. Best I could suggest would be to temporarily set the category volume to 0dB, then set it back when you're done w/ your changes. -Brian ...Show All

  • Visual Studio 2008 (Pre-release) 3d shape inside 3d shape

    hi, it's amazing... can i (with the WPF) create a outer shape and inside it an inner shape that "move" inside the 3D space in the outer shap thanks, omri No, Sorry, after I review the sample again i understand that this is not what i was looking for. Why As you can see in the sample there is cube inside a cube - excellent! But you can move only the entire "big" cube, and what i was looking for is the ability to move the inner cube as well as a separated object. imagine "big" cube with a lot of inner objects that you can move the entire shap (the "big" cube) but you can move the each small object as well. Thanks a lot again and sorry for the mis ...Show All

  • .NET Development SortedList incorrectly(?) says key exists

    Hi, I get an odd result when adding two entries to a SortedList, where the key is a string: SortedList < string , string > list = new SortedList < string , string >(); string s1 = Char .ConvertFromUtf32(0x1700); string s2 = Char .ConvertFromUtf32(0x1701); bool equal = String .Equals(s1, s2); list.Add(s1, "First" ); list.Add(s2, "Second" ); When adding the second entry, an exception occurs saying that an entry with the same key already exists. The comparison though results in equal = false. I admit the characters are a bit strange, but they are defined (see http://www.unicode.org/charts/PDF/U1700.pdf ), although I can't see that should matter. I guess it has somethi ...Show All

  • SQL Server Trying to work with timestamp stored as integer (11:17 am -> 1117)

    My company uses some integration software to synchronize tables in our OpenVMS server to our MS SQL 2005 server so statistics and tasks can be performed there instead potentially impacting our main data processing operations. The problem I'm running into is that timestamps in the tables are stored as date_shipment (datetime) and time_shipment (integer) instead of as a combined datetime_shipment (datetime). Date_shipment contains the date of the transaction with 00:00:00.000 for the time part, while time_shipment has the time of the event stored as an integer, so 8:00 am -> 800, 4:50 pm -> 1650, 8:00 pm -> 2000, etc. Unfortunately, I'm stuck with what the integration software gives me, so I need to find some way of turning the time ...Show All

  • Windows Forms Data files not copied on updates

    Hi, I am settings up my application to work with ClickOnce deployment. However, after instlling installing an update, the database doesn't get copied. I tried everything I could think of. It is a SQL Server Express database created in ClickOnce data folder (ApplicationDeployment.CurrentDeployment.DataDirectory). I use User Instances, that is, I connect directly to the database file. So, I install version 0.0.7.0 of my application, run it, it creates a new database, I add data to it. Then, I update to version 0.7.1.0. The database doesn't get copied so I loose my data. I made sure the database is detached before updating. Any ideas I'm clueless on this one. This is the database that *should* get copied: C:\Documents and Settings\Et ...Show All

  • Visual Studio Tools for Office Interop.Word.dll

    I am building an asp .net development using c#, I'm using Interop.Word.dll to automate the generation of word documents. On my local machine i have no error running the solution but on our development webserver i get the following error System.Runtime.InteropServices.COMException: COM object with CLSID {000209FF-0000-0000-C000-000000000046} is either not valid or not registered. Now i think the error is from that i need to have Word installed on webserver, I am just wondering is there anyway to use my solution without having Word installed on the webserver, i.e. have the dll in the bin directory Cheers  Hi Madheshwaren You'd need to run the Setup program for Office/Word and ins ...Show All

  • Smart Device Development 3GP

    can i encode 3gp files on a windows mobile device   fatalist wrote: can i encode 3gp files on a windows mobile device typically yes. most OEMs include a 3gp codec. 3gp was designed as a mobile video protocol to begin with. I think 3gp is the default video format for CaptureCameraDialog. ...Show All

  • Visual C++ Compiler related?

    here're sample codes: int fun(int n) { if(++n==5) return n++; return n*fun(n++); } void main() { int i=1; int sum=fun(i); cout<<sum<<endl; } (first, I knew the codes above applied bad coding style. here pls ignore it, i wanna know some other behaviors of C++/compiler) I used VS2005 to compile and execute it, i got a sum = 300 as the reslult, while on TC and gcc the result was sum = 120 . i looked into the assembly and found the difference happened because of different implementation of the statement n*fun(n++) . my question is - Did i get the expected result Is the result/behavior truely compiler dependent and subsequently, i got 300 and 120 in VS2005, when i chan ...Show All

  • .NET Development Is there by any chance an unmanaged version of Light Weight Code Generation API?

    This would be exceedingly useful since the byte code generation I am doing I would like to continue to do in an unmanaged envrionment with the framework I already have in place. Thanks for any assistance anyone can provide. Hi -- I really apologize for all my messages; I hadn't realized how fully documented all this stuff was on the Microsoft web site. I have basically answered my own question, so I don't need to intrude on your time and good graces any more. I see that if I can accomplish what I want by having a managed method sattically compiled into the managed portion of my app that accepts an IL text sequence, parses it and emits the code with IL generator (calling Emit numerous times, but from ...Show All

  • Windows Forms problem of update an item from a listView,urgent, need help!!

    I have a list view problem,my list view contains the items (e.g. A, B, C, D and etc.) and quantity of the items (e.g. A-3, B-1, C-4, D-2 and etc.) and now i would like to delete the items by randomly selecting it, example when i double click on A-3 , it will automatically change from A-3 to A-2 , does anyone know how to write it Why are you using the loop. It has the point, but then you decrese all selected rows in listview. So if you need only one item to be posible at once the be decresed, set Multiselect to false and remove loop and use 0 index of SelectedItems collection. But Multiselect option sometimes can be usefull. Because you decrese the value, i thought items A-Z are some products, so when you click on the product you sel ...Show All

  • Visual C++ error in vc++

    i am getting error DAMAGE: after Normal block (#47) at 0x00330CE8 when i am about free the block of memory dynamically allocated i am not getting any error during compilation and liking ,i am getting error during executing Thanks for ur reply.But i don't know where to use and how to use " _CrtSetBreakAlloc() " please help me...... i mean whether it has to be used in the place of "free()" replacing it (or) before it or after it and also if pointer variable is "a",then how to use this command.i looked the link debug heap allocater  but i am unable to understand ...Show All

  • Windows Live Developer Forums Capture position and zoom level

    I would like a user to click a button and then capture the users current position and zoom level. Is this possible Thanks Danny dannyg_uk wrote: I would like a user to click a button and then capture the users current position and zoom level. Is this possible Thanks Danny Here's sample code, copy and paste into an html file. Enjoy <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js"></script > <script> var map = null; function GetMap() { map = new VEMap('myMap'); m ...Show All

  • Windows Forms ADO.NET Can't Update Date or Number Null from Text

    Hello, I have seen one or two posts on this question but none with a definitive answer. We are using VS 2005 connected to an MSDE type local SQL Server 2000 using ADO.NET to communicate via a BindingSource and a TableAdapter. I have the MS DataGridView bound to a simple table on SQL 2000. The date and number fields in this SQL 2000 table are marked as "nullable". I also have several bound textboxes to some date and number fields in that same table. From the textboxes I can easily add a date where there was none, and I can update and change the date. The same is true for numbers. What I need though is to be able to blank the date or number textbox and upon update to have a null sent back to the database. This simpl ...Show All

  • SQL Server International Data in OLAP dimensions

    Hello, The cubes are not working on a database with custom collation, in our case Cyrillic_General_CS_AI. When we process the dimensions against such database the data comes with characters. Any ideas how cand i fix or approach this problem The database is on SQL Server 2000 instance having collation on Cyrillic_General_CS_AI. I tried first with OLAP 2000. Then I did the same with on SSAS 2005 instance with collation Cyrillic_General, Case Sensitive. Still the Cyrillic characters did not come, and I have every where. Thanks, Dan Hello. Try with changing the data type in the source data mart(if it is a SQL Server 2000 or later) from char and varchar to nchar and nvarchar. Yo ...Show All

  • Visual Basic Form & Picturebox sizes

    I am trying to set the sizes for the form and the picturebox to the size of the image displayed.  The picturebox is set to a random varible from a listbox of images.  The code I know that works is below but the problem I'm having is that it sets it to size of the image before the current image and on and on.... Form2.PictureBox1.Size = Form2.PictureBox1.Image.Size Form2.Size = Form2.Picturebox1.Image.Size Here is the code I have so far for the rest of it... Static number As Integer = 1   <-- If Code is inserted here the same problem occurs Try Form2.PictureBox1.ImageLocation = ListBox1.Items(number) <--Inserted here same problem. Catch ex As Exception Timer1.Stop() MessageBox ...Show All

©2008 Software Development Network