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

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

ITJoeB

Member List

MLyons10
Quiztar
JavaBoy
haihtomy
xion.truth
vicarious
Ishai Sagi[MOSS MVP]
Ryn
kschuler
Tryin2Bgood
cssjm
Stas Kravets
MuscleHead
supagu
Ariel Valentin
Moustafa Arafa
perrs
YhanT
railguns
Yustme
Only Title

ITJoeB's Q&A profile

  • Windows Forms New to DataGrids - Simple Question!

    I'm using a datagrid for the first time and have been partially successful in getting it working. But what happens is that when displayed it shows a little "+" link in the upper left area, clicking on that a little tree node to "Main" is displayed, and clicking on that my table is displayed. It is this last state, with the grid displayed normally that I want to occur in the first place! I realize there's probably one little thing I'm neglecting to do but I can't figure it out. Any ideas Here's the core code I'm using to populate the grid from a DataSet: private void PopulateGrid() { string sqlText = "SELECT FirstName, LastName, EntryDate, ReasonGiven"; sqlText += ", tblOtherReason.OtherReason F ...Show All

  • Visual Studio Express Editions Embed video in .exe

    Well ive made my application added a axwindowsmediaplayer, and made the video work, the only problem i have is the user has to have the video in the exact same place i did, is there anway i can make my video built in with the exe As suggested use relative path. For instance if I would make FunApp.exe that contains my application and a movie in the same directory named Fun.mpg I would refer to it as ".\Fun.mpg" even though it actually was in c:\projects\funapp\movie\fun.mpg" while developing. When I set my application to load the movie I know my it is running from Application.StartupPath and can refer the movie as Application.StartupPath + "Fun.mpg" ...Show All

  • Visual Studio Setting Page Orientation of a report/crystal report viewer at runtime

    Hi, How to set the page orientation of a Crystal report at runtime in C# Thank you, Regards, Deepa. I've been trying to find the answer to that question too. I believe you need to get the devmode for the printer you want to change and set the dmOrientation attribute to portrait or landscape. What I've learned so far is that .NET has no functionality for doing that yet. So you have to import unmanaged functions from a DLL. This makes for a very cumbersome solution, as you have to import a ton of code to accomplish one small task. Here's the code I found and am working with. But I am stuck on the OpenPrinter( ) call in the GetPrinterSettings( ) routine. My call keeps returning 0, which throws a Win32Exception. using ...Show All

  • Smart Device Development Tray a VB application on Mobile Device

    I am trying to figure out how to Tray a running application using Visual Basic.  I have found alot of info and even the sample code for doing such a thing, but they are all written in C. I would like for the program to start, then then have a button in the Form that will then "Tray" the application, and then when they "click" the Tray Icon it would restore the form.   Any help would be appreciated... I guess if someone know both C and VB you could maybe convert it for me   Or even tell me of a different way to do it other than the sample.   C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\TrayApp\ Trayapp.sln     ---- this is where the sample program ...Show All

  • Smart Device Development Invoking Beep on Pocket PC using C#

    Hi, Am developing an application where i have to alert a Beep sound in a Intermec 700 series pocket pc built on Windows mobile 2003 OS. However i get a missing method exception at runtime saying "Can't find PInvoke Dll kernel32.dll". I tried using the playsound function as well. However i get some other dll cannot be invoked at runtime. I am pasting the code sample here Beep function [ DllImport ( "Kernel32.dll" )] [ return : MarshalAs ( UnmanagedType .Bool)] public static extern Boolean Beep( UInt32 frequency, UInt32 duration); Beep(750,300) PlaySound function [DllImport("winmm.dll", SetLastError = true, CallingConvention = CallingConvention.Winapi)] ...Show All

  • Smart Device Development CSD call at pOCKET PC Phone

    We want to develop a application on pocket pc , which will send the data to another remote GSM modem with the help of CSD ( Circuit switch data ) call of pocket pc. Is there any API for CSD call in pocket pc . Pls. suggest how we can implement above application Thanks. Hi I'd be interested to see a sample of: a) A GSM CSD call being set up to send data to an internet server. b) A GSM CSD call to send "data" to another 'phone, as an alternative to sending and receiving SMS to another 'phone.  In both instances a public carrier would be used.  Is it possible to specify "number of slots" or other QoS parameter to allow HSCSD ...Show All

  • Software Development for Windows Vista Vista doesn't like my Control panel applet

    I have a control panel applet, which works fine both for XP and Vista. The only problem is that on Vista the Compatibility Assistant dialog appears after the applet has finished, saying "Did this control panel work correctly " It seems that Vista recognizes my applet as some legacy stuff. How can I make it fully compatible with Vista Thank you in advance. Well, I figured out. Just add a security manifest with requestedExecutionLeve = asInvoker. However such dll will cause BSOD on XP, which is another well known issue... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Generating random texture and content objects in XNA

    Here is a blog entry that contains sample code for generating random content in XNA. Link: http://geekswithblogs.net/evank/ Typically, when someone says "generate random texture and objects," they talk about procedural content generation. All you do is switch between pre-defined objects based on a random number, which typically doesn't qualify. Also, most people probably already know how to call Random. Sorry to be down on your blog, but reading the title, I had hoped for some interesting procedural object generation, which is an interesting and hard problem, and can be used to "work around" the size limitations for XNA games. ...Show All

  • Internet Explorer Development Sun Java now open source for IE7 implementation

    Read all about it at http://www.sun.com/software/opensource/java/ ...Show All

  • Software Development for Windows Vista Spy++ on VISTA's version of Explorer causes system hang

    Hi there - I was trying to use *log messages* functionality using Spy++ (that comes with Visual Studio .Net, tried the version that comes with Visual studio 2005 as well) on certain child windows of IE like address bar, toolbar buttons and doing that makes IE unresponsive without fail (infact it makes the whole system unresponsive until you kill that instance and run a new explorer instance). Actually trying to use "log messages" functionality on any window that uses explorer causes this system hang. Did anybody face this issue already Is it a known issue Regards Kapil ...Show All

  • SQL Server Error in MS Stored Procedure

    I am current creating a Oracle membership provider in dotnet based on the MS membership provider. One of the stored procedures that need converting is shown below. The variable UserId (highlighted blue) is declare and never assigned to but is used within the update query also highlighted in blue. If this is an oversight then I presume that this part of the stored procedure is never actually executed. Can somebody put an eye over this code to confirm. Thanks. ALTER PROCEDURE [dbo].[aspnet_Membership_GetUserByName] @ApplicationName nvarchar(256), @UserName nvarchar(256), @CurrentTimeUtc datetime, @UpdateLastActivity bit = 0 AS BEGIN DECLARE @UserId uniqueidentifier IF (@UpdateLastActivity = 1) BEGIN SE ...Show All

  • SQL Server Draw marking line on Chart

    I want to mark a value on the x-axis of a (stacked) bar chart. (So I want a horizontal line that is fixed on a chart.) What I tried so far is adding an expression that says: =260 to the dataset, and I added that field to the Data Area of the chart. Then I plotted that value as a line. This approach leaves me with 2 problems: 1. When the category grouping only has one group, there is no line, just a dot (or another marker you can select). 2. Because of the extra field in the Data Area of the chart, the legend holds useless information. Isn't there another way to plot a horizontal line on a fixed value of the X-axis I also took some screenshots so you can see for yourself. The charts display the ManDays per Year. The gree ...Show All

  • Smart Device Development Windows CE Emulation with USB-support from host system

    I need to emulate a Windows CE 5 image from Platform Builder, but I need to access a webcam, connected through USB on the host system. Is this possible, and if so - how A second question is, can I connect my Visual Studio 2005 to this device, deploying .Net-applications for debugging purpose.. Thanks in advice.. Sorry but device emulator at present doesn't support connecting to USB devices. For your second question, i believe you can roll the SDK for the image you generated from PB. After installation of this SDK, you should be to create project for this platform and deploy applications to it using VS2005. This blog although little offtopic will give you some hints on how to achieve that http ...Show All

  • Visual C++ Use _chdir instead of _chdir?

    Hi all! When compiling my solution lately I get some original remark from the compiler:   1>..\bla.cpp(61) : warning C4996: '_chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir 1> C:\Programme\Microsoft Visual Studio 8\VC\include\direct.h(69) : see declaration of '_chdir'   I am using VS2005 (English version) with Service Pack 1, and Windows XP Pro  SP2 (German Version).  What could be the cause for this erronous compiler behaviour   Regards, Claus That isn't a compiler problem, it's a header issue. Feel free to report it at http://connect.microsoft.com/VisualStudio . ...Show All

  • Software Development for Windows Vista TC13

    Hi, How to determine whether the application is using a Non-Self-Containing Bootstrapper or Chainer to install the application Thanks in advance Thanks, Vasu An example of a non self containing boot strapper would be a setup.exe file that sets some parameters up and then starts up an msi that is external to the setup.exe to begin the installation. ...Show All

©2008 Software Development Network