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

Software Development Network >> M.A.T's Q&A profile

M.A.T

Member List

humbroll
Hir&#233&#59;n
Mattj1990
C#Geek
rayms
Scott Butler
PedroCGD
GROTH
rjwelte
scuudz
m.dawood
Yitzhak
ink innovations
StefanWimmer
joksa
Alepodrakoulas
Ludmila Koganer
swalker
SmartSpy
Garry W
Only Title

M.A.T's Q&A profile

  • Visual Studio Express Editions Vb Express 2005 How do I select a paper tray and/or select a paper size

    I would like to print an envelope. How do I select the manual feed tray and envelope size Don't know if this will help or not. It's a short program i downloaded to study some aspects of printing and having gotton around to studying yet. Use 1 textbox, 1 button, and 1 pagesetupdialog, using the default names. Public Class Form1 'This method displays a PageSetupDialog object. If the user clicks OK in the dialog, selected results of ' the dialog are displayed in ListBox1. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try ' Initialize the dialog's PrinterSettings property to hold user defined ...Show All

  • .NET Development Problem to run aspx for the first time live

    I have started learning ASP.NET 2.0 and managed to try out a few stuff like masterpages and sitemap navigation. All this I can do it locally but when I upload my code to my web hosting provider, I got this error mesg Server Error in '/' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is there any way to tell if a sampler has a texture attached in shaders?

    Is there any way to tell if a sampler has a texture attached in shaders The default behavior is getting black when no texture attached but I want it to be some other color. No, there is not such functionality available in shader. If you want to use other color, just attach 1x1 sized texture in your code when no texture is needed. I think such things were actually used for emulating "default" black behaviour in some older HW. ...Show All

  • Smart Device Development Display sort indicator (Up & Down Triangle) in datagrid column header

    Does anyone know how to add sort indicator (up & down triangle glyph) in datagrid column header   I'm using C#.  Please help, thanks in advance. You might try handling Paint event on the grid and drawing these indicators as needed. ...Show All

  • Visual Basic How do I put an inputbox within a messagebox(and then make sure it loops a certain number of times)?

    Hey, 1st time poster on here and I was curious if you could help a newbie out here. I'm trying to work on a project and part of it involves clicking a button to bring up a message box, and then within that message box there needs to be an input box where a number needs to be inputed 4 times. Currently I have the code for the message box setup: MessageBox.Show("Please enter your project grade:", "Enter Project Grades", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) And what I want to know is where should I input the InputBox code and loop code Thanks in advance! please do not duplicate questions across threads..... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=128 ...Show All

  • SQL Server How Start/Stop shortcuts in system tray ?

    Hi, I want to tell to user about SQL Server Configuration Manager and wants to allow him "START / PAUSE / STOP" for SQL Server Express in system Tray. It is easy for the end user who don't know SQL Server. Thanks hi, you can perhaps have a look at http://www.sqldbatips.com/showarticle.asp ID=46 , a replacement for the "old" SQL Server Service Manager available for SQL Server 7.0 an 2000... as a side note, remember that users require admin permission to start/stop Windows services, and usually you'll not grant them this high level membership to traditional interactive users.. so SQL Server should already be started as they log in (as it actually does), and they should be ...Show All

  • Internet Explorer Development IE7 HP Director Problem

    I also tried the HP software workaround for my sj4570c. It did not work for me. I tried everything I could, I had both versions of HP software(v1.2 & 7.0 ) installed, tried all the patches, got the "HP Solutions" to open the HP Director, then I still got error messages prompting me to re-install the software. The basic scanner functions worked ok. I could not get the scanner to work thru the HP Director with IE 7. I need my HP director to work and it does after I uninstalled IE 7. I like the features on IE 7. I I like the featuresof the HP Director. I am stuck between HP and MS lack of support. I am getting tired of the lack of support and uncompatable upgrades from MS. I may give FireFox a try. Anyone know of an other s ...Show All

  • Internet Explorer Development IE7: BeforeNavigate2 not called any more on javascript links

    Hello, I have discovered that IE7 does not call the DWebBrowserEvents2 event BEFORENAVIGATE2 any more when the user clicks on a javascript link. The event was invoked in IE6 and allowed BHOs to handle javascript links. Before IE7 it was possible to cancel, modify or otherwise react on javascript invocations. I used this functionality to implement a pop-up blocker for IE. Example Code <html> <body> <a href="j a v a s c r i p t : alert('pop-up');">Pop-Up</a> </body> </html> // added spaces between "j a v a s c r ip t :" to be able to post the code Please call the BeforeNavigate2 event again for backward-compatability reasons or introduce a new event whenever a javascript link is act ...Show All

  • SQL Server Editing in Querry Analyzer not in EM

    Hello, In SQL if we want to edit a row in a table then we have two ways to do the same, 1. Execute a command to Update the records in sql through querry analyzer. 2. Go to enterprise manager and then open the table and update a new row. But can't we do the editing in the querry analyzer is there any way to do this. That means i select all the records from my table using the following querry. Select * from MyTable and then performs editing in the querry analyzer without executing any update command and without using the Enterprise manager. Can we do this Bye and TC Hey Mani, Dude ur idea is working some tables but not with most of the tables is there any reason for that or it edits only the ...Show All

  • Visual Studio Express Editions Problem saving data,

    friends help me... the UPDATE method of adapter is not changing or adding data to the database only changes are dne in datasetfriends help me, what can be the problem, or tell me the alternate method, a full example,,... thanks Here is a quick example. It needs a datagridview and button on a form Imports System.Data.SqlClient Public Class Form1 Dim da As SqlDataAdapter Dim ds As New DataSet Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim strConn As String Dim conn As SqlConnection strConn = "Server = .;Database = Northwind; integrated security=sspi;" conn = New SqlConnection(s ...Show All

  • Windows Forms How to refresh datagridview when dataset changes

    I have a very simple datagridview pulling data from one table. It loads fine. When I change some data in the underlying table and reload the dataset, debugging shows me the changed data in the dataset, but the datagridview does not change. How do I get my datagridview control to reload from the updated dataset Here's the code I have now - Me .mydataAdapter.Fill( Me .myDataSet.myTable) Me .DataGridView1.Refresh() After the Fill, the dataset does have my updated data, but it does not appear on the window. Anybody know how to refresh the datagridview when the underlying dataset is reloaded ...Show All

  • Architecture Why would I ever use ServicedComponents for in-service data access?

    If this question belongs in another forum, please let me know where. Otherwise ... I've designed some data access objects that hit SQL Server 2005. They're to be used inside service boundaries in high-volume situations where scalability is an issue, so they'll execute on a separate server from business logic. Now I have to decide how to host them. I'm an experienced architect and developer (or I like to think so, anyway), but my .NET experience is modest, so I've been reading up. Based on my research, one conclusion I've arrived at is that at least for SQL Server 2005, it doesn't make sense any more to use ServicedComponents for data access. Yet so many of the examples of how to create high-volume data access components use Enterpris ...Show All

  • Visual Studio Cannot debug MFC source after upgrading to VS 2005 SP1 using symbol server

    I have VS 2005 and SP 1 installed and have enabled the symbol server in "Tools -> Options -> Debugging -> Symbols". It is no longer possible to step into MFC source code when debugging an MFC application. This used to work with VS 2005 without SP1. The only workaround to my knowledge is to disable the symbol server. Then the .pdb from the symbol server will not be used. If I understand this correctly. the .pdb from the symbol server (http://msdl.microsoft.com/download/symbols) now has source information stripped and so will prevent stepping into MFC source with the debugger. While I find this solution works, it is a very limited solution. Notably, my \windows\symbols\dll dir ...Show All

  • Visual C# Thread Form issue

    I have a form "MDIMainForm" where i am starting a new Thread so check some data in a database. This Thread loops infinetily and opens up a new form "popUpMsg" if relevant data is found. The problem is that the "popUpMsg" form is not visible when it is created in the Thread. However everything works fine if i create the new "popUpMsg" form in the same thread from the "MDIMainForm". However i can not do this because my application pauses until the "popUpMsg" form is closed I am not sure why i can not see it. but i know it is there. (i print a line in the Console to know this) Any ideas I would appreciate any help Hi alejandrohidalgo ...Show All

  • Smart Device Development Who has a PPC-6700 Sprint AudioVox Mobile 5 (Can I use GPS?)

    I have the Sprint AudioVox PPC-6700 and I know that it has the built in GPS chipset but everywhere that I search I can not find out how to actually access the API. There are a few of the GPS API references throughout msdn & msdn2 but none have an actual walk through. It is very easy to access the phone API's and contact lists/appointments and whatnot but the GPS is not to be found. As far as the GPS is conserned one could argue that it isn't ment to be programmed or something but the fact is that in all documentation it says that e911 can use the gps and also applications that need your location (such as movie times or resteraunts in your location). I really need to find out how to manage this out even with just a simple quord ...Show All

©2008 Software Development Network