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

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

GrandpaB

Member List

PerBylund
fbalas
Krutika
Evan Mulawski
mark aoki
Nitesh Joshi
RobertMahon
PhaedoHD
Batico
jmkueter
polease
Monish Nagisetty
Re2Porter
kennm
ACCOUNTINGONLINE.US
gg1
Bryan Kardisco
magicalclick
TBing
Duncan Woods
Only Title

GrandpaB's Q&A profile

  • Visual Basic How to write a Voice Recording Application

    Hi, I am a bit of a layman to VB 2005. I need to write an App which when invoked records the voice from a Microphone connected to my system. There is a lot of talk about a certain "voicectl.dll" but I find it is used in Mobile Applications. Can it be used for Desktop Apps too If so How do I go about accessing it A reply to get me started on this topic would be helpful! Regards Check out this project ... ...Show All

  • Visual C++ help

    consider the following... IPHostEntry^ hostEntry = GetHostEntry( www.somewebsite.com ); Ok.. this works just fine if www.somewebsite exists, otherwise it throws a SocketException or something. With that in mind, I tryed the following.. IPHostEntry^ hostEntry = GetHostEntry( www.somewebsite.com/something ); Even if this site does exists, it ALWAYS throws and exception. How can i check to see if www.somewebsite.com/something exists Please restrict your questions for this forum to C++ language issues. This type of question would best be asked here in the MSDN Discussion groups. In particular here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.win32.programmer.networks& ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PointSprites and Alphablending?

    I followed Riemers tutorial on point sprites and got it almost working. This is how it looks like: http://www.karlfredberg.se/cgtalk/pointSprites.jpg I am also using the sample from the Animation Component and this is where I think the problem lies. The Zdepth sorting works fine with ordinary objects but the objects from the sample doesn't work. I guess there is something with the World Matrix that screws things up. I have no idea how to fix it. Indeed, this problem has to do with the Z ordering of your scene. I bet you're first drawing the bullets, and next the scene behind it. At the moment you're drawing the bullets, the bullets are blended with the color behind them: plain blue. Next, when you d ...Show All

  • .NET Development .Net 3.0 installation

    Hi,   I have VisualStudio .Net 2005 with Framework 2.0 installed in my system. My requirement is to install .Net 3.0 to work on WPF . I downloaded dotnetfxsetup.exe from MS site [ redistributable package - 2.8 MB ] . While installing it tries to refer internet for another download. I donot have internet connection so I need to download entire stuff from another m/c and move to my system to install. How to get the downloads. Please provide me the link. Thanks & Regards   Vijay I did the following Step 1: [ downloaded and installed ] http://go.microsoft.com/fwlink/ LinkId=70848 Step 2: http://www.microsoft.com/downloads/details.aspx FamilyId=5A0AE4CD-DC7 ...Show All

  • Software Development for Windows Vista How to use VCIntegrate in RC1

    I don't seem to be using VCIntegrate.exe correctly in RC1 of the SDK. I perform the following steps: 1) Log into Vista using a standard account 2) Start the SDK Command Shell by right clicking the menu item and selecting Run as administrator. 3) Change to %ProgramFiles%\Microsoft SDKs\Windows\v6.0\Setup 4) Run VCIntegrate -i. I receive two separate dialog boxes about integrating the LIB, INCLUDE, PATH settings and I accept both of them. 5) Start Visual Studio 2005 and go to Tools->Options->Projects and Solutions->VC++ Directories. No changes have been made to LIB, INCLUDE, or PATH. I can enter the values manually but I don't seem to get VCIntegrate to put them there. Am I missing something Thanks. ...Show All

  • SQL Server "Package Configurations" Problem

    Hi all, I have just set up my first deployment utility for the Integration services package i've been building. I seem to be getting problems with the package Configurations. I added an XML config file so that i could change the values of my SQL connection manager at deployment time. This was so that i could deploy it on both a test environment and the live environment. Any other variables can be changed in code by the calling application. As soon as i added the options for the sql connection manager and enabled package configuration i got errors when running the application: [Execute SQL Task] Error: Failed to acquire connection "InternalProductionData Connection Manager". Connection may not be configured correctly or you may no ...Show All

  • SQL Server Dividing a Column

    I have a column that contains the persons Full name. I would like to split it so that it contains the persons First Name and Surname. Can i do this from a select command. Hope you can help e.g. Full Name -------------- Dave Smith Want to acheive First Name Surname Dave Smith BH: I got tasked with doing something similar to this about ten years ago. One thing that you might want to do is verify the format of your names. Check and see if some of your names are also in the format 'lastName, firstName'. Try something like select count(*) from yourTable where fullName like '%,%' Some options: Modify the table to include the desired surname ...Show All

  • Visual Basic Storing the Contents of a textbox control to a text file

    I have a Form1 that has 4-controls textbox1 and tbox2 botton1 botton2 I want to enter text info on the textbox and send it to a textfile.txt file I am getting six declaration errors on fs and sw, Why ***************Here is my Code************************************************** Imports System Imports System.IO '\\ Create a Form2 add two buttons and two textboxes '\\ Name one button Save the other Recall ' Storing the Contents of a textbox control to a text file Public Class Form2 Dim sw As StreamWriter Dim fs As FileStream fs= new FileStream("c:\textdata.txt", Filemode.Create) sw= new StreamWriter (FS) Sw.write (TextBox1.text) Sw.write (TextBox2.text) Sw.close() fs.close() End Class Thanks Guys, Fernando Pen ...Show All

  • Visual FoxPro REPORT FORM TO A WORD FILE

    Somebody knows how can I send an output of a REPORT FORM to a Word File. I mean a file .DOC. I have to preserve fonts, size, etc. It is to send documents by mail. Dont work only ASCII. Thanks in advance >> Somebody knows how can I send an output of a REPORT FORM to a Word File Check out XFRX at http://www.equeus.com or FRXTOANY at http://www.frx2any.com ...Show All

  • Visual Basic Date comparisons

    I have an access database that has a column of dates. As I display these records, I want to compare the date in that field to the current date and if it is less than today, I want to alter a seperate label to indicate that the item on the record is expired. I'm having a problem comparing the date in the db to the current date. the data from my db is being displayed in a text box, txtexpirydate. When I try to get the value of that as val(txtexpirydate.text) I get an error. that's even before trying to compare to anything. can someone please point me in the right direction. thanks tattoo tattoo wrote: I have an access database that has a column of dates. As I display these rec ...Show All

  • Internet Explorer Development window.focus() with tabs in IE7

    Consider the following HTML pages Main.html <html> <head> <title>MAIN</title> <SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript1.2"> var desktopWindow = null; function openDesktopWindow() { if (desktopWindow == null || desktopWindow.closed) { desktopWindow = window.open('pop1.html', "pop1", 'width=1024,height=768,menubar=0,status=1,toolbar=0,resizable=1'); } } function focusWindow() { desktopWindow.focus(); } </SCRIPT> </head> <body bgcolor="#E3E3E3"> <a href="#" onclick="openDesktopWindow(); return false">Open popup</a> <br> <a href="#" onclick="focusWindow(); re ...Show All

  • Visual Studio Tools for Office Insert contents of a byte[] or stream object into current word document

    Hi, I am currently working with VSTO for Word and SharePoint 2007. I have extended the Actions pane to provide me with functionality to browse a SharePoint document library. Once the user selects the document from the Actions Pane (displayed in a List Box), I want to insert the contents of that document in the current document at the current cursor position. So far I have been able to read the document from Sharepoint document library in a Stream object. Where I am struggling is in inserting the contents of the stream object in the current document. Can anyone lead me in the right direction as to how to insert contents of a document to the current document I have seen examples of inserting plain text in the document, b ...Show All

  • Smart Device Development Intercepting SMS messages and Creating a Notification

    I'm trying to intercept a message, do some analysis on it, provide a custom notification, and save it to the inbox. I'm using InTheHand, the Microsoft.WindowsMobile managed classes, and OpenNETCF libraries at my disposal. A couple of questions: 1) The first question is with regards to the MessageInterceptor class. After intercepting a message, I can't find any way to pass it thru to the SMS account's inbox. The Accounts.SmsAccount.Inbox doesn't give me any methods to save a SMS message. The only way for it to go to the regular sms inbox is to use "Notify" instead of "NotifyAndDelete" for the MessageAction. But this will give me two notifications - the original and the custom one I'm popping up, instead of ju ...Show All

  • Visual Studio 2008 (Pre-release) getting the co-ordinates of any visual object

    Hi, is is possible to get the current client co-ordinates of a WPF object in runtime, with out going for a hit-test. I just have the Name of this control with me, is it possible to get the rectangle area which it is acquiring.. Thanks and Regards brij The following method can calculate the bounding rectangle area allocated to a specified element: public static Rect CalculateBounds( FrameworkElement element, Window rootWindow) { GeneralTransform transform = element.TransformToAncestor(rootWindow); Point upperLeft = transform.Transform( new Point (0, 0)); Point lowerRight = transform.Transform( new Point (element.ActualWidth, element.ActualHeight)); return new ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Memory Leak?

    Heya, I've been working on this 2d game for about a month and a half. A space shooter with a ton of animations. But thats not the problem the problem is recently as the amount of Images has increased I've noticed that the memory usage never stops going up as the game progresses. I know there is some kind of flaw or redundancy in the way i store textures now since the release of beta2 and the content manager. However What would cause memory to keep adding up until the game begins to stutter The structure for storing textures was done before the content manager so it is just a Dictionary class that loads and gets textures loaded via the content manager. The UnloadGraphicsContent method in the game unloads the content mana ...Show All

©2008 Software Development Network