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

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

GrandpaB

Member List

John230873
MagedSalah
nhaas
mido19
IMBack
Matthew_Stevenson
PedroCGD
Kyle0654
Jon Braganza
Pirringer
baysurfer
bes7252
tjanuario
Israel Brewster
srinivas_kv80
SweptSquash
otiko
DDarren
Myime
OptikConnex
Only Title

GrandpaB's Q&A profile

  • SQL Server Change page title from "Report Viewer/Manager" to the actual report name?

    Can a person change the page title from "Report Viewer/Manager" to the actual report name Yes, but it is not quite as simple as you would probably think it would be. You will need to use Visual Studio to create a windows application or web application and set the page title there. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA performance

    In the past i learned c++ cause its faster as managed code for games and stuff. Now we are about to start a pretty large game project. This project will be an multiplayer first person shooter (swat kinda game, like Swat4 of sierra, Raven Shield of UbiSoft, ...). Cause high performance is a big requirement on this project we want to know if XNA framework (using XNA studio express) is the best (or good) sollution for this. Writing this game in c++ will be a long, long, long way, maybe XNA can shorten this development process, only we want to be sure about the performance.   Keith Newton wrote: AndyL do you have a link to the Java 5 vs C# benchmarks I'd be interested in reading about that ...Show All

  • Visual Studio Express Editions change your mousecursor

    When I click Picturebox1 i want my mousecursor to change in something else that I have made(I need a .ico file for this, yes ). How can I do this please Thx in advance. Project + properties, Resources tab. Click on the arrow of the Add Resource button, Add Existing File and navigate to your icon file. Rename it to "MyCursor". Now you can change the mouse cursor on the Click event with code like this: private void pictureBox1_Click(object sender, EventArgs e) { pictureBox1.Cursor = new Cursor(Properties.Resources.MyCursor.Handle); } private void pictureBox1_MouseEnter(object sender, EventArgs e) { pictureBox1.Cursor = null; } Note how I added the MouseEnter event to ensure the ...Show All

  • SQL Server "dynamical" view

    Hi, I'm currently migrating an MS Access database to SQL 2000 Standard, and i have a problem with queries migration. In acccess, a screen allows me to view some informations depending on Criteria, and results are returned with a query (we'll call it Q1). Then, when correct data are returned by the query Q1, some other queries compute sums, average, group by orders, based on Q1's results. Now my question : as in sql server, a view cannot accept parameters, the solution i adopted is : - create a generic Q1 view, not filtered. - then, all the subqueries based on this view are Functions or Stored procedures, which accepts parameters and do the filter on the main view (Q1). The problem is that writing such functions or stor ...Show All

  • Visual Studio prompt user from MSBuild command line?

    Hello, If I use msbuild.exe from the commandline, is there a way to prompt the user For example, if they issue a Build command, say for the Production configuration, can I say, "Are you sure you want to execute the Build for the Production environment " Thanks!! Not in my opinion either. Looking to see if there is a way to prompt on the command line...Rather not have to code a custom task for it, but I suppose if I did, I could include it in the <Project> element's InitialTargets attribute to ensure it runs each time, but I would need a way to hook into the command line. ...Show All

  • Visual Studio 2008 (Pre-release) Cannot set Name attribute value 'Tab1' on element 'MyTabItem'. 'MyTabItem' is under the scope ...

    Hello, I'm using WPF RC1 and I'm trying to create a set of custom control with template to skin the appearance of the TabControl. When I'm trying to use those controls in my application, I'm getting the following error: "MyPage.xaml(71,69): error MC3093: Cannot set Name attribute value '_Tab1' on element 'MyTabItem'. 'MyTabItem' is under the scope of element 'MyTabControl', which already had a name registered when it was defined in another scope. Line 71 Position 69." Here is a trimmed version of the application's page XAML. < DockPanel LastChildFill = " True " >   < rbn:MyTabControl DockPanel.Dock = " Top " >     < rbn:MyTabItem Header = " Tab1 " Name = "_ Tab1 " >   ...Show All

  • Visual Studio Tools for Office How can I use the Page interface in the Microsoft.Office.Interop.Word.dll?

    My problem is that I need to walk the pages of a generated Word document to add page breaks at the end of each page. But now I've no idea how to access the page interface Can anyone show me the way pls Questions concerning automation of Office object models (anything to do with Office.Interop) should be posted to an appropriate newsgroup, as listed in the "Please Read First" posting at the top of this forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=174275&SiteID=1 This forum is dedicated to discussions concerning the VSTO technology. FWIW, I can't imagine why you'd need to add a manual page break at the end of every page, but the only way to "walk" each page is to use the wdApp.Selection.G ...Show All

  • SQL Server GetErrorDescription with oledb destination fast load mode

    I have an OLE-DB Command transformation that inserts a row. If the insert SQL command fails for some reason, I use the "Redirect Row" option to send the row to a script component. Inthere, I get the error description into a string variable in order to log the error into an error table. For example, if a primary key violation arises, I would like the error description to be "The data value violates integrity constraints". I get it using the ComponentMetadata.GetErrorDescription. When I use the "table or view mode", I get the error description above without any problem. But If I use the "table or view fast load", the description is something like "No status available". But, If I us ...Show All

  • Visual Studio Express Editions DataGridView cell input

    Hi, How can i directly get into the data input mode when i click on a DataGridView cell unit, not like at this moment showing the selection of the cell first then allows you to input the data What I want to achieve is that when I click one cell, it will allow me to edit the content immediately, without showing the "blue" color-filled focus box first. can i do that thanks ...Show All

  • Audio and Video Development Mixing rate sink and rateless sink on a tee node

    I modified the WavSinkSample and inserted a tee node so I could also add an Audio Renderer output node. When I do this, the topology starts playing just fine. But it ends as soon as the WavSink finishes writing the wave file. Is this the intended behavior I would have expected the topology to stop when all output nodes are done processing samples. I tried a bunch of workarounds: - Changing the order in which I connect the nodes. - Set MF_TOPONODE_RATELESS to 0 on the WavSink output node. - Set MF_TOPONODE_PRIMARYOUTPUT to 0 (index of the audio renderer) on the tee node. - Set MF_TOPONODE_DISCARDABLE on the tee node for all secondary node. But none of these worked. Is there any ways to accomplish when I want or is this a bug Also, I tri ...Show All

  • Visual Basic Winsock OR TCP connection + SSL

    Hi, I am making an Email reader program, and I need to use POP3 servers. I learned the protocol so I'll could use winsock for the connections. The problem is, that a lot of servers require SSL connection, and I don't know how to open one... I know there is a way with the TCP socket, but I don't know how...... :( Can anyone tell me how Thanks, Ofir. Anyone I only need someone to tell me how to use a TCPCLIENT, and after that, TCPCLIENT + SSL.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! PLEASE!! ...Show All

  • Visual Basic Highlighting Text in a Web Browser Control

    I have a VB 2005 windows app that includes a web browser control in which I display a variety of HTML pages that are a part of my project. I would like to include a Find and Find Next feature whereby the user can search the page being displayed for a string. If I find the search string then I would like to highlight it for the user (similar to the IE Find feature) ... my problem is that I don't know how to select (i.e. highlight) the found text in the browser control. Can someone enlighten me Thanks. ...Show All

  • Visual Studio Express Editions How do I convert .NET 2.0 Coding into VB 2005 Express Edition coding?

    How do I go about understanding and converting the coding of .NET 2.0 into the coding that Visual Basic 2005 Express Edition can understand Hmmmmm Kalmal has gotten better.......... Private Sub updateNumberLabel() 'we get index of first visible char and 'number of first visible line Dim pos As Point = New Point(0,0) Dim firstIndex As Integer = richTextBox1.GetCharIndexFromPosition(pos) Dim firstLine As Integer = richTextBox1.GetLineFromCharIndex(firstIndex) 'now we get index of last visible char 'and number of last visible line pos.X = ClientRectangle.Width pos.Y = ClientRectangle.Height Dim lastIndex As Integer = richTextBox1.GetCharIndexFromPosition(pos) Dim lastLine As Integer = richTextBox1.GetLineFr ...Show All

  • Windows Forms Changes in database and update datagridview problem

    hi, i have a WinForm datagridview (dgvUser) that is populated with data from a SQLEXPRESS db. On the same form I collect user input using textboxes and after user clicked on OK button, those information will be saved to the database. At this point, everything is perfect. At the same time, I want the dgvUser to update itself with the new info. I have read others' posts regarding this issue and tried some suggestions from posters. From what i see, the datagridview was refreshed but the data wasn't updated. Anyone with solutions or suggestion please help. Million thanks. Regards, Sha private void dgvUserUpdate() { this.tblUserBindingSource.EndEdit(); dgvUser.DataSource = dmsDataSet1.tblUs ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tool for auto HLSL Generation?

    Are there any tools out there to enable the graphical building of a shader network, such as in Autodesk Maya's Hypershade tool or Softimage XSI's RenderTree tool, which can enable you to use a GUI to set up an object's basic material properties and then automatically generate the appropriate HLSL shader fragments needed to reproduce the material effect in your game without having to manually write HLSL files Certainly, if you want to create complex shader effects, you would need to be able to edit the HLSL or manually create new custom HLSL files, but for creating HLSL files to render basic, standard material properties, there really should be a graphical tool to take some of the work and difficulty out of it. Such a tool should allo ...Show All

©2008 Software Development Network