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

Software Development Network >> Alex-MyRpg's Q&A profile

Alex-MyRpg

Member List

a.d.m
tacallah
Gloria123
xanadont
Sarwanan
Tanmaya
pure159112
Jason_B.
Ben - ECM
cashfan
l Bllizzd l
nglow
search and deploy
eric shih
Jeroen ter Heerdt
MotteKarotte
*Rick*
Tracey Macias
Cybersurfer
Priyank Gajera
Only Title

Alex-MyRpg's Q&A profile

  • Windows Forms How to get \n into a listview

    I am trying to get a listview to display strings that look like this: This\nis a string that\nchanges lines. I need to have the \n show up as a string in the listview and not a funky char. Thanks Hi,TedTarney You said "I need to have the \n show up as a string in the listview and not a funky char", in fact, the text of items in the ListView never translate the '\n' char. If your real mean is displaying string in lines, you can set the ListView's OwnerDraw to True, then handle the DrawItem event, use codes like this to draw the strings: private void listView1_DrawItem( object sender, DrawListViewItemEventArgs e) { e.DrawBackground(); string [ ...Show All

  • Visual C# Cast at runtime?

    DataRow[DataColumn, Table.Columns] returns object and a comparison of object type fails even if actual values are equal. We can guarantee the Type of the DataColumn and I want to cast to the DataColumn.DataType as I iterate the columns of the table; much more maintainable if the table ever changes. Other than a slew of if statements testing the as operation, is there a way to make this construct compile: foreach(DataColumn column in dataRow.Table.Columns) { if(dataRow[column, RowState.Current] as column.DataType != dataRow[column, RowState.Original] as column.DataType) { ... } } My hack is to test using ToString() (not pretty): dataRow[column, RowState.Current]dataRow[column, RowState.Current].ToString() Why can't w ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Game and GameComponent Feedback

    We've been combing the forums and the Connect database for bugs, feedback and suggestions around the application model. We still have a small amount of time to consider any other feedback you may have. So this is the thread that you post your latest likes or dislikes with Game, GameComponent, services, etc. Please scan the other threads before posting here, I'd like to just gather things that haven't already been discussed or reported elsewhere. Thanks! EvilOneSD wrote: I'm against the GameComponent stuff. I just don't see the point in this. This is high level logic, that is application dependent and surely don't have to be in the core libraries. I even don't see the point in adding my the graphics device to the game c ...Show All

  • Smart Device Development port VS2005 application to CE5.0 platform

    I have a C# project built with VS2005 and I want port it to CE5.0. In CE's platform builder, I could not find "Compact Framework 2.0" in Catelog so I cannot add it to my OS. I have CF2.0 installed on my PC. How can I config my CE PlatformBuilder to import CF2.0 Without CF2.0 included in my OS and when I try to connect to my hardware target, I run into "ActiveSync" problem. Is it related to CF2.0 Any advices are appreciated! PB knows nothing about NETCF 2.0 installed on to your PC and you can’t configure it to do that. You need to download and install PB patches with NETCF V2 instead. I'm not sure what "ActiveSync" problem is. I would guess it's rel ...Show All

  • Community Chat For Pre-School Teachers, a Trace font program

    http://users.adelphia.net/~gcumbia/Tracefont_1_0_0_4.zip My web page http://users.adelphia.net/~gcumbia/ (has a screenshot), and link above will change at some point. Adelphia got bought up by Time-Warner where I am at. You just had to put your mug up there, didn't you :) That's a pretty neat and simple program: excellent! When I was akid, all we had when I was a kid was hammers and chisels and slabs of granite. And we had to share the granite. ...Show All

  • Visual Studio Team System questions about reports

    Hi, I have the following questions: 1- How can I run/generate a report Suppose I add a work item with VSTS, If I display a report showing work items, it will no appear. I have to wait about 30 minutes. I guess the report is generated every 30 minutes. How can I manually run the report 2-I am trying to create a report. MSDN says that we need to install SQL Server Business Intelligence Server Studio (because it does not appear when i click on File->new project). But how can I install it Can I download this somewhere Actually I thought it was packaged with SQL Server 2005, but it is not. I have SQL server 2005 on the same machine and can't find it... Thanks for your help Rod 1 - Take a l ...Show All

  • Windows Forms Timer X Seconds

    Hi, How can I create a function to wait for x seconds with a timer Like... wait_seconds(5); // is the timer function DispatchMessage(Usuario+Environment.NewLine); txtLista.Text="-Logar-"+Environment.NewLine; wait_seconds(5); // is the timer functionDispatchMessage(Senha+Environment.NewLine); txtLista.Text+="-Senha-"+Environment.NewLine; wait_seconds(5); // is the timer function DispatchMessage("listenerconfig"+Environment.NewLine); txtLista.Text+="-listenerconfig-"+Environment.NewLine; wait_seconds(5); // is the timer function ... Thanks Why do you want to wait One way is with the Thread.Sleep method. Simply pass the number of milliseconds t ...Show All

  • Visual C# Error : Rejected Safe Mode Action

    Hi, i am trying to open an existing Excel file using windows service.. the code is as follows : Excel.Workbooks objBooks = objApp.Workbooks; Excel._Workbook objBook; objBook = objApp.Workbooks.Open(FilePath,0, false , 5, "", "", false , Excel.XlPlatform.xlWindows, "", true , true , 0, true , false , false ); when i run this service i get the following error in event log : Rejected Safe Mode action : Microsoft Office Excel. Faulting application excel.exe, version 11.0.6560.0, stamp 4296b6f2, faulting module mso.dll, version 11.0.6568.0, stamp 42e18ef6, debug 0, fault address 0x0003446c . how can i correct this Thanks in advance, Sajitha Yes, it has the only l ...Show All

  • Visual Studio Express Editions Newbie Trying to get specific data from an sse database

    I am trying to query a specific field from my sse database based on two different variables. And use this information to fill a textbox with an integer. The first variable is a combobox that is filled with data in one of the other tables in the sse database. This table has a PKcolumn that is an integer and the identity of the column. The only other column is a nvarchar(30) string (which is the actual data in the combobox) The second variable is a numeric up down that isn't actualy using info from the database but will be a reference. It has a max value written in to the code: if NumericUpDown1.Value > 20 Then MessageBox.Show( "This form only supports characters up to level 20" ) NumericUpDown1.Value = 20 Th ...Show All

  • .NET Development Run a process with admin rights

    hi everybody. I have a problem to launch a process with admin rights. The application has to work under Windows Vista (I developp under the last CTP). The account running my application is an admin account and the process I need to launch is "bcdedit.exe". When I run my application, bcdedit (launched by my app) says that it doesn't have enough rights to work correctly. If I run my application by doing right button on it > run as administrator..., the process works correctly but it's not a solution for me. I would like to know if I could run a process specifing rights admin or a windows identity with admin rights. thanks per advance I had to supply the password. But I have to do this task witho ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Bones and X Importing

    Hey all, Took a look around and couldn't find a post about a similar problem on the forum, and just wanted to know if anyone encountered any problems importing an x file that included a skeleton, I created the following test animation (forget the animation at the mo, it doesn't seem to get past the importing stage let alone processing) of a cube in Maya 7, importing it using the directx X importer plugin for maya from the august SDK (the december one crashes everytime i try to use it, and i have yet to try the february one). When i so much as add the x file to my project, without referencing it in the code (so all it goes through is the content X importer and default Model XNA processor) and try to build it returns the error: 'Error 8 Vert ...Show All

  • Smart Device Development corrupt error: 0x8007007e

    Hi, I am upgrading my app on WM 5.0 from eVC to Visual Studio 2005, after everything compiled and started deploying, it came with an error messeage: Unable to start Program.... An error occured usually indicates a corrupt installation (code 0x8007007e). And deployment stopped....Could anybody give me some hint about why this happens and how to solve it Thanks in advance! Hi, Are you dynamically linking to some libraries In case you are see that all the libraries like mfc atl etc. are also deployed to the device. Thanks ...Show All

  • SQL Server x-Axis labeling

    Hi, In my report, I have StartDate and EndDate parameters.In my Line chart on x-axis i need to show the dates like this:Suppose startdate=1/1/2005 and enddate=12/31/2005 then x-axis labels like this:1/1/2005,4/1/2005,7/1/2005,10/1/2005,1/1/2006.In x-axis i put the Minimum value:Parameters.StartDate.Value and the Interval is 90( days),it is not working properly. How to show quarter of the year on x-axis. Please help me Thanks in advance Here is how to do it: add a chart drop a field in the "Drop category fields here" right click the field and choose Properties change the Label property to the quarter column Greetz, Geert Geert Verhoeven Consultant @ Aus ...Show All

  • Software Development for Windows Vista Debug problem in workflow

    I start debugging the workflow within sharepoint server 2007, when the workflow begin, visual studio prompt the screen like that. Error loading workflow Cound not deserialize object. The type "infoPathWorkflow.Workflow1" cound not be resolved. But my workflow can run successfully. I don't know why. I'd recommend you go ask on a SharePoint forum: See the SharePoint home page , the SharePoint news groups , or the SharePoint support home . Regards, Paul ...Show All

  • Visual C++ resource browser problem to define an *.rc file

    hello, I have Windows XP with VS .NET 2003 Pro. I have a problem with the resource browser. It's not possible to define over than 255 entities (text, input box, etc ....) inside a *.rc file (copy and paste or even manually). I found on the microsoft web site a support inside the article n°141345 or Q141345 "You may encounter resource ID collisions when you try to rename duplicated resources by using Visual C++". But it seems that it doens't resolve my problem. Do you have an idea to go over this limitations thanks SLSH Hello, thanks for your reply. temporarly we used your idea to separate the dialog box but we would like to understand why we have this limitation. I found inside ...Show All

©2008 Software Development Network