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

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

Helen999888

Member List

IBRAHIM ERSOY
Bill4
Sek360
XNA Rockstar
barkingdog
vijay1
Dhivya.S
fubnuts
rtaiss
Shawn Weitzel
Duzinga
baseballfanty
EWoodruff
TedCullen
Malleswar
RMORAR
J4m3sB
JYB
Tigers21
jon_c04
Only Title

Helen999888's Q&A profile

  • .NET Development How to change connection string\data source of a report ?

    I have a report.rdl file which displayed with a report viewer that shows the report under “Remote state”. I want to change the data source in run time in order to cause the report to connect to other database. (it’s another database that constructed like the database that the report worked with usually) This means I have to change the connection string which the report use. How do I do that from a page Me .ReportViewer1… If the report is being run from a remote reportserver you cannot change the datasource at runtime.. you can only change the server url. You can make it so different URls point to different datasources. You might want to get more ideas from the SQL Server Reporting forum. ...Show All

  • Visual Studio 2008 (Pre-release) How to get textureCoordinate when I click 3d model in Viewport3D ?

     I am trying to get texture Coordinate for the picked one point when I click 3d model in Viewport3D , I have a sphere model in Viewport3D . I don't know what I have to do to get texture Coordinate when I click 3d sphere model in Viewport3D . Can anyone help   thanks.   RayMeshGeometry3DHitTestResult has all the info you need. The vertex indices will let you find the texture coordinates at the vertices of the triangle and then use the vertex weights to figure out the exact point (look up Barycentric coordinates). ...Show All

  • Visual Basic How do you add EndCap AnchorCircle to each line in a Path

    Hello, I'm using GDI+ to create a graph. I can have about 20,000 points and want to make a curve out of this points. I iterated each point and used DrawLine to draw each line and it was really slow. I found that with: graphPath.AddLines(test) 'test is an array of points grfx.DrawPath(pluma, graphPath) I can make ir really fast... but the thing is that the pen I'm using only displays the EndCap for the whole path (only at the end) and not for each of the lines that create that path. I want to show where each point is located with pluma.EndCap = RoundAnchor...it worked well with DrawLine... but with the path I get the EndCap only at the end of the path... I used AddEllipse for each point but it's very very slow. ...Show All

  • Visual C# multithreading: locking a variable to return

    elementary question (I'm using VS2003 for this particular issue, but it pertains to VS2005 too) Is it possible for Foo() to be preempted between FetchFoo(), assignment of foo_, and pushing foo_ on the return stack public DataSet Foo() //thread1 { lock( fooSetLock_ ) { return ( foo_ == null ) foo_ = FetchFoo() : foo_ ; } } public void ResetFoo() //thread2 { foo_ = null; ...other code } If so, does this solve the issue public void ResetFoo() { lock( fooSetLock_ ) { foo_ = null; } ...other code } " Is it possible for Foo() to be preempted between FetchFoo(), assignment of foo_, and pushing foo_ ...Show All

  • .NET Development System.net Ftpwebrequest FtpWebResponse BUG ????? (Error 530 Not Logged in)

    Hi, I'm trying to connect to an Apple OSX Tiger ftp server to get a list of files, and I always get the "ftpwebrequest The remote server returned an error: (530) Not logged in" error, I have tried to use it with a Windows 2003 Ftp server and works like a charm. Public Function ftpDO( ByVal serverUri As String , ByVal path As String , ByVal xUsername As String , ByVal xPassword As String ) As String Dim retStr As String = "" Dim responseStream As System.IO.Stream = Nothing Dim readStream As System.IO.StreamReader = Nothing Dim Request As FtpWebRequest Dim Response As FtpWebResponse Try Request = CType (WebRequest.Create(serverUri & path), FtpWebRequest) Request.Credentials = N ...Show All

  • Visual Studio Modifying fonts in the code view

    Hello, I am currently about to start a study of fisheye view visualization of source code. For this, in a developed add-in for VS2005, I need to be able to change the fonts of individual lines in the code view of VS2005 - is there any way to achieve this I.e. I need to be able to set font size individually for each line. As far as I can see from the documentation this is not possible - only changing the colors and styles can be done - is this correct If so - is it possible to take advantage of VS2005's code model (i.e. the TextSelections, points, CodeElements, etc.) in a custom build code view Best regards, Thomas Rene Sidor University of Copenhagen, Denmark Hello Ed, Thanks for your reply. Plan B is ...Show All

  • .NET Development Unable to download data

    Hi, I'm using the below code for downloading data from a server, WebClient downloadSearchResults = new WebClient(); NameValueCollection queryStringCollection = new NameValueCollection(); queryStringCollection.Add( "q",queryString ); //Final search query. downloadSearchResults.QueryString = queryStringCollection; System.Text.UTF8Encoding encodingData = new System.Text.UTF8Encoding(); char[] searchDataArray = encodingData.GetChars(downloadSearchResults.DownloadData(" http://IPaddress of the server/search ")); // Converting character array to String. string completeSearchResult = new string( searchDataArray ); The problem is when it comes to downloadData, no data is being downloaded, the link (serve ...Show All

  • Visual Studio Express Editions concerning media player

    renee where do I post pause button code wow that sounds complicated.....but first....this is my pause button........ then I thought I would like a back button......dont know if it should keep repeating last song or not, at the moment it just rewinds the current track to start......mmmm what do ya think pause button Private Sub btpause_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btpause.Click If WMP.playState = WMPPlayState.wmppsPlaying Then WMP.Ctlcontrols.pause() tmr.Stop() ProgressBar.Value = ProgressBar.Value btpause.Text = "paused" btpause.ForeColor = Color.Aqua Else If WMP.playState = WMPPlayState.wmppsPaused Then ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Mentor Needed

    Hey I was wondering if anyone would be able to help me make a game with XNA I want to make just a simple little top down move car around game. But I can't figure out how to start (I did the tutorials) So I was hoping one of you fine gentlmen and women would be able to help me on msn or aim or somthing That way its live instead of continually posting back and forth on the forums. Thanks Very Much James Either make some posts it here or collect your conversations and make that exchange a tutorial as you guys work through the concepts he needs to learn to get his game done. Thanks for thinking of the community like that, much appreciated. ...Show All

  • Windows Forms DatagridView, commiting changes immediatly please!

    Hope I explain this right. I have a DataGridView, whos DataSource is a DataTable. This DataGridView has two DataGridViewComboBoxColumns. When I select an item from the ComboBox, I have to click on one of the other rows before i choose to save, or else the data is not commited to the DataTable. Is there a way that I can have any changes I make take affect the instant I select an item from the ComboBox Thanks. Hi, After you select an item from the combobox, the selectedinexchanged event fires. Therefore, you may put your save code into this event handler. How do I handle the SelectedIndexChanged event Sometimes it is helpful to know when a user has selected an item in the ComboBox editing control. ...Show All

  • SharePoint Products and Technologies Displaying the Status Expression Details

    Hi When we create KPIs from SSAS KPIs is there any way to show the details of the Status Expression i.e. the threshold values E.g. If KPIVALUE("MyKPI")/ KPIGOAL("MyKPI")>0.98 THEN 1......the threshold values like 0.98 I guess this is a important piece of information that the end user must be aware of. Also it would be very good if it can the display the delta that needs to be achieved to reach the Goal. Is there any way to show this to the end user Thanks and Regards Guruprasad Karnik ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. HLSL - do all my matrix math inside shader?

    Hi All, Just getting into HLSL, and was wondering if someone can advise if there's any drawbacks or problems doing my matrix math inside the shader, like world * view * projection, offloading it from the CPU. Specifically, I want to pass in my world transform matrix for the object into the shader, and have it do: objectWorld * commonView * commonProjection thx, p. That's actually a bad thing to do on the shader, because it will be executed again and again for each vertex (or pixel). Actually, if you do this with a modern DX SDK, the HLSL compiler will take out these calculations and turn them into pre-shaders that are executed on the CPU once prior to sending the results as constants to the GPU. ...Show All

  • Visual Studio Sum

    i have the following problem. i make a crystal report from incoming and outgoing orders. i have a selection made by a starting and ending date so i only see stock trafic between those dates now i want to create a first line, where i add the stock prior to the first change of my span. to do this, i should add all transactions prior to my first line. is there a way to do something like this in crystal reports ...Show All

  • Visual C# Save my program for God's sake!!!!

    Just as I was getting some decent work done on my project, I set down my keyboard to make a bathroom run, and once i returned, I found my cat lying on my keyboard... When I tried to clean up the constaint garbage that was created by him, I tried running my program and found a ton of new errors. What makes it worse is that I have this bugged sucker saved... Tried cleaning it up, and like a freakin moron, I saved it before I re-ran the program. Apparently I changed something mere mortals such as my self shouldn't have touched. partial class Form4 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel. IContainer components = null ; ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D Math

    Does XNA include libraries to help with all the 3D math in graphics programming for instance transforms, clipping, collision detection etc etc It seems a good idea to code all the algorithms into a library, that's what I would do anyway. Is this in XNA I think that the collision detection stuff should be left to the developers of game engines and libraries rather than the XNA. as you listed above, theres so many different ways to do collision detection and some devs don't want one system or another. XNA is a framework for making games and not a game engine. Having the most basic bounding sphere collision detection was more than I expected from XNA and I'm not using any of the BoundingBox/Sphere collision ...Show All

©2008 Software Development Network