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

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

guilhermecvm94558

Member List

AdamusTheGreat
DJBurkey
Jeremy Conner
Sergey424701
i386
juergen.b
gibic
aamato
Yogev
scompa
ImranAziz
QuinceArj
Spangltk
Jessica Alba
Mark Ornelas
*A
Gautam Vaid
vtortola
Cem DEMiRKIR
Paulustrious
Only Title

guilhermecvm94558's Q&A profile

  • Windows Live Developer Forums How to Add PushPin using FindLocation (without providing lat and long)

    Hi guys, Just started playing with the API. I am trying to add a pushpin to general points e.g. Cities, Provinces, Postal Codes but everytime I try to the pushpin appears in a totally different point. Any insight would be much appreciated. Thanks K <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script > <script> var map = null; var pinID = 1; function GetMap() { map = new VEMap('myMap'); map.LoadMap(); FindTO(); AddPin(); } function FindTO() { map.Fin ...Show All

  • SQL Server Decoding set of values in a column

    Hi, I have 2 tables as mentioned below: Tbl1: Col1 Col2 x 1 2 3 4 5 y 2 4 7 1 4 Tbl2: Col1 Col2 1 id1 2 id2 3 id3 .... What I need to is takes col2 values from tbl1 match it against col1 in tbl2 and get the corresponding col2 from tbl2. So my result data will be Result: Col1 Col2 x id1 id2 id3 id4 y id2 id4 id7 id1 id4 To achieve this, what I doing now is, created a TVF to convert the values in tbl1 to different rows, join it with tbl2 and then use 'While' loop to reconstruct all rows into a single row. But the while loop is taking more time to reconstruct it (approximately 3 mins for 1000 rows in a single process system with 1GB memory). Is there any other easy way, to reduce the time ta ...Show All

  • Windows Forms disabling ctlrs in the form?

    Hi, how to disable all the controls in the form. i need something like this foreach (control ctrl in form.collection) { ctrl.enabled=false; } thanks venp You pretty much have it, only the exact syntax would be (where being run within a form or other container class): foreach ( Control c in this .Controls) { c.Enabled = false ; } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. D3DERR_NOTAVAILABLE while build of first example in help how to do

    I used to code in pascal, cobol, assembly, basic, etc, but not C. From: Your First Game: Microsoft XNA Game Studio Express in 2D following along and doing the first build, I get the error above. I did not think I was calling the 3d engine only the 2d. I cannot find any help on the error, where to look, etc, except what is in the error window when you cursor over it. I cannot figure out how to copy the error in that popup window to look at it further. I know some dislike nubies, but please help if you know the answer. Its disheartening to type in only 6 lines of code and not be able to debug it! To say the least. Thanks OH OH OH, I figured out how to copy the error: Error 1 Building content threw InvalidOperationExcept ...Show All

  • Software Development for Windows Vista IAudioEndpointVolume value and SndVol not in Sync

    I'm working on the vista mixer compatibility layer for our application ( Girder, http://www.promixis.com ) and ran into something odd. When I set the volume with SetMasterVolumeLevelScalar the SndVol slider moves to that exact spot and a subsequent GetMasterVolumeLevelScalar returns the correct value. Smooth sailing so far. Now if I move the slider on the SndVol application and then running my app requesting the volume I get a different volume from the value reported by the tooltip on SndVol. Sliding to 0 and 100% works but intermediate steps are trouble. Not until I call SetMasterVolumeLevelScalar does the SndVol display and report the correct value. I'm currently still on RC1, is this a bug Has this been fixed in RTM ...Show All

  • Visual Basic textbox to textbox #2

      i am working with one form, i want the text inputed by a user from one textbox to be displayed in another read-only textbox here is the code: i would like to have the readonly textbox display the current input textbox text and the previous readonlytextbox text   so i would imagine it would be something like readonlytextbox.text = inputtextbox.text + readonlytextbox.text thanks for your time       Private Sub inputTextBox_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles inputTextBox.TextChanged     readonlyTextBox.Text = inputTextBox.Text End Sub ...Show All

  • Software Development for Windows Vista Where did CertKeyFileTool.exe go?

    Hi, The SDK RCs included a tool called CertKeyFileTool.exe, which could be used to set security properties for installed certificates. This tool seems to have disappeared in the RTM. Anyone know where it's gone or what replaces it Thanks, Kent FindPrivateKey is now a sample application: http://msdn2.microsoft.com/en-us/library/aa717039.aspx HTH Mark Seemann http://blogs.msdn.com/ploeh ...Show All

  • Visual J# read text for a .txt help

    I'm attempting to read a line of text from a text file but found no scanner class that I usually use in the java.util package. Does anyone have a good suggestion on what I should use to read a line of text Thanks What if I wanted to start from a certain line in the .txt file   I didnt see any parameters in the readLine() method to start somewhere other than the beginning. ...Show All

  • Visual Studio 2008 (Pre-release) Inherited List class as DataMember

    Hi Im trying out WCF for the first time and have hit a small snag. In my project I have a class called Passenger which simplified look like this <DataContract> _ Public Class Passenger <DebuggerBrowsable(DebuggerBrowsableState.Never)> _ Protected mAge As Integer = 0 <DataMember()> _ Public Property Age() As Integer <DebuggerStepThrough()> _ Get Return Me.mAge End Get <DebuggerStepThrough()> _ Set(ByVal value As Integer) Me.mAge = value End Set End Property End Class I then have a strong type collection of Passengers with an additional method <DataContract()> _ Public Class PassengerList Inherits List(Of Passenger) Public Function FooBar() As Boolean ...Show All

  • Visual Studio Replace All Text

    If I have a reference to a ProjectItem (say a C# code file), what is the easiest way to replace all of the current text with new text without deleting and re-creating the file Thanks, Scott. If the ProjectItem is open, you can get its objProjectItem.Document property, cast it to EnvDTE.TextDocument and then use the objTextDocument.ReplacePattern method. If it is not open (objProjectItem.IsOpen(...) returns false) then you can open it calling objWindow = objProjectItem.Open(...), which returns a window that will be invisible unless you call objWindow.Visible=true. ...Show All

  • Software Development for Windows Vista Problem installing vsextwfx in vista

    Hello, I have VS2005 Professional installed on Windows Vista (RTM). When I try to install vsextwfx - November 2006 CTP I get un error, and the installation rollout. Anyone know how install this package Thanks Josep M Busquets Girona ...Show All

  • Software Development for Windows Vista No Disk 5 on MSDN Vista ISO image disk - disk 3707

    I have just tried to install Vista Ultimate onto my laptop using my Windows Vista Disk from MSDN. I burnt 4 disk's from the iso image dvd(only 4 available on the dvd) onto cd. After the installation copied 98% of the files from the 4 disks it then asked me to insert the 5th disk! I was a bit flabbergasted. Has anyone heard of this Thanks Paul, I've since read that MSDN acknowledged the error with the 5th iso missing and will re-ship with the March updates. ...Show All

  • .NET Development Changing the database asociated with a DataSet

    Hello I'm developing a Webservice application that accesses MSSQL db's using DataSets. I have several indentical databases (the same tables), but with different content. I need to be able to change between these database at run-time to get different data according to the different "users" who have their own database. How is this done. When I create a DataSet in VS2005 it's bound to a specific database. Hope you can help The below link should get you started. You may want to consider some books as well if you're new to .NET and/or ADO.NET. http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/ADOPlusOverview.aspx ...Show All

  • Visual Studio 2008 (Pre-release) Grids and DataBinding

    Hello all, I have a question regarding Databinding to grids. What I have is a collection of objects that represent tables of various columns, rows and cells. What I'd like to do is bind a Grid to these objects in XAML, so that depending on the number of columns or rows, I can create as many column and rowdefinitions as needed. I'd like these grids to appear similar to html tables. Here's a basic idea of what my table object looks like: public class Table() { private List<List<Cell>> _rows; private List<List<Cell>> _columns; public Table() { // Organizes the cells into rows/columns } } public class Cell : TextBlock { private int _column; private int _row; etc... } I'm not dead set on using grids, so if anyone has any ...Show All

  • Smart Device Development ActiveSync two mobile devices

    I know ActiveSync is PC to Windows CE mobile device. My question is there a way to ActiveSync a Windows CE mobile device to another Windows CE mobile device I would like to bypass the PC and not loose my contact info Any and all information is thanked in Advance! Samy ...Show All

©2008 Software Development Network