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

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

Alpehans

Member List

John Aschenbrenner
Ted12893
cheesecake-lover
DHJr
Alexannic
Ather.
cheesetarmac
Peter Freeman
Bodylojohn
Markus_77
whatupboo
gf
xmlfan
mark.b
MylesRip
RookieDBA
JamaSaru
jules_newbie
Bertrand Caillet
Hery Susanto WR
Only Title

Alpehans's Q&A profile

  • Visual C# COM Object Problem

    Hi, i am having a problem with a COM object at work. Basicly the COM object exposes alot of interfaces, but for some reason, they are not all showing up on my machine. The COM Object is written in C++, and i am using VS.NET 2005, i have tried it on a colleage's machine, and it exposed all the interfaces, but it didnt on another colleage's machine. I have tried unregistering the DLL, and re registering it, and this does not help either. Any thoughts on this would be greatly apreciated. - SF Dont worry, we have managed to find the problem! basicly if you have compiled the COM object on the current machine, it generates another file as well, this file is required to build projects using the COM object, but no ...Show All

  • Windows Forms how to print on a specefic point using C#?

    I have a ready invoice paper and I want to print my data to a specefic point as per the invoice template. how can I do that in C# Simply.. I have a pre printed invoice and I want to print the data on it on a specific point of x, y. so for example, I just need to get the amount then print it on the amount space on the invoice. ...Show All

  • Visual C# Data Base : changing the topology using C#

    HI I'm trying to make a program using Data Base and i don't know : 1- is it possible to use in same time two different Data Base and having relashionship betwin two tables each one in a the two Data Base 2-if i want to fill a data base with the help of users should i use a data stored in a computer and shared......or pieces of of data in each user computer 3- Tables, relatioships....can i dynamically creat or destroy them (changing the topology of my data base) Thanks for your Advices. RDH123 wrote: HI I'm trying to make a program using Data Base and i don't know : 1- is it possible to use in same time two different Data Base and having relashionship betwin two tables each one in a the two Data Base ...Show All

  • Visual C# Reflection of an image (Fastest reply would be nice)

    I am trying to make a reflection of an image but having trouble doing so. I have had to take my first image put into a picturebox make another picturebox with same image and flip Y coordinates to make it look like a reflection but when I try to add linear gradient brush in a rectangle around my reflection image picturebox I keep getting an error so far this is my code see if anyone is able to figure out what is wrong. Just so everyone knows I am a newbie at this and just fooling around with code to try to understand C# better because I am having trouble finding webpages with tutorials for C#. Thanks for any help on this. icon_ref is the icon's reflection I am trying to affect so it is the reflection image picturebox. iref is the i ...Show All

  • SQL Server License of developing and distributing based on SQL Server XE

    Hi all, I need to find all information about distributing SQL Server XE and applications using it . Is it legal should it be used just for educational use !!! could it be used to develop a commercial software !! what limitations are controlling this thanks in advance !! View the EULA here. http://www.microsoft.com/sql/editions/express/redistregister.mspx HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Basic Strange character problem

    Hello! I’m making a program which read quite large text files, and then converting them to .rtf documents to be read in for example Word. I ran into trouble the other day when a character couldn’t be read ( ) by my richtextbox object. I’m using the same function over and over, so I know it’s working, the problem arises when I pass a certain text file, or rather a certain string in the text file. When I do richtextbox.text = system.io.file.readalltext(tempfile), the readalltext() seems to interpret these characters as EOF, cause it stops reading even though there’s a HUGE part of the text remaining unread... The string looks like this if I open the textfile in Word: 0 96��321 Supposed to be 2 squares betwe ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpriteCache - A custom sprite renderer to eventually replace SpriteBatch. Source & Demo inside.

    Hey all, I put together SpriteCache for people interested in rolling their own SpriteBatch class. It's capable of doing almost anything SpriteBatch can do (no rotations yet), but also adds two nifty things: Per-Sprite Shaders - I know this is possible with SpriteBatch, but it's pretty obnoxious to have to set it up every time. With SpriteCache, you just set the effect and draw as normal. It's a lot simpler then setting up the effect passes every time. Four-Corner Tinting - I don't know why you can't do this with SpriteBatch, but you can't. SpriteCache allows you to tint each corner of your sprite individually. This is cheapest way to do 2D lighting. Play with the source and the demo and let me know what you think, I'd appreciat ...Show All

  • Windows Forms what i can do with GDI

    I want to write a project that has some function likes WordArt of Microsoft Words. it can fit the text to any pattern I want to use GDI to deverlop my project. so, could you tell me, what is supported by GUI (not use GUI plush) . thanks & regards!!! Nope, wrong forum. We use the Graphics class here. If you really want to use GDI, start reading here and post any questions you may have at the C++ General forum. ...Show All

  • Software Development for Windows Vista Power icon problem

    Hello, I've just installed the Windows Vista Beta 2 (Build 5384) and so far so good, except for one thing: somehow i can't activate the option to show the power icon on the "notification are" of the "taskbar". When i go to the properties of the "taskbar", and then go to the "notification area" options, i'm allowed to select to always show the clock, volume and network icons, but not the power icon. Do you know what can i do to fix this problem Because of this problem, i never know when the battery is low. Thanks for your help!! Hello again... I thought my machine was battery-enable, but it doesn't shows any battery icon in the tray. And in the "Tas ...Show All

  • Windows Forms foreach(Form f in AllformsOfApplication)

    Hi, searched the forum, found something that wouldn't work, so I'm asking for some help. I'd like to find all forms in my application after clicking on a menu item, so I can do something with all of them. That would be something like: foreach (Form f in AllformsOfApplication) { dosomething(f); } Note: not just the open forms like with Application.OpenForms but something like Application.AllForms (if only it would exist...) Thanks for the help! I just realized my question somehow got posted in the wrong forum. Could anyone help me with the following: I'm trying to list all forms in my application in runtime. I thought I found it (look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1094731&Si ...Show All

  • Visual Studio Express Editions Single instance application issues

    Following the code from this MSDN article: http://msdn.microsoft.com/coding4fun/inthebox/trickedoutapp/default.aspx It seems when I run the example in debug, it will only allow one instance of the application. However, when I run in release mode, I can run as many instances as I'd like. Here's my code, almost exactly the same as in the article: bool exclusive; Mutex m = new Mutex(true, "testProgram", out exclusive); if (exclusive) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); MainForm mf = new MainForm(); Application.Run(); } else { MessageBox.Show("The application is already running!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } I'd appreciat ...Show All

  • Visual Basic Visual basic 6.0 Runtime error

    Hi All, In my VB 6.0 application when i want to save the changes in EXE then suddenly iam getting below error. "The instruction at "0x182eefb2" referenced memory at "0xfffffffff", the memory could not be read" error."Click on OK to terminate the program" message is displaying after clicking on the OK button it is displaying one more message "The instruction at "0x01ee86e3" referenced memory at "0x8c000869", the memory could not be "written".Click on ok to terminate the program" message is dispaling if click on OK means then application is crashing. Please give me the urgent replay because our project is in production phase. Thanks&Regards, Ammireddy... ...Show All

  • SQL Server How to launch package from client machine, display progress and finally results?

    Please help. I'm completely new to SSIS, and I was hoping someone could point me in the right direction(s). I am developing a winforms client app, and I need to be able to provide the user with the ability to import data in CSV format into our application's database. I'd like to use SSIS if possible, as long as what I am trying to do isn't near impossible. I'm thinking of a UI where the user can specify a flat file (CSV) to upload and be processed by an SSIS package on a remote database server. This package will be responsible for validating the CSV file and inserting data into the database as appropriate. Is there a way I can: launch an SSIS package remotely, from a winforms app on the client machine that is not runni ...Show All

  • Windows Forms Access to registry key is denied

    Hi, I got this "Access to registry key is denied" error when my user tried to run the win form app I developed. On the Login form, I have following lines of code that will read/save user login name in the registry. LoginName = Microsoft.Win32.Registry.Users.GetValue( "CSRTSName ", LoginName).ToString Microsoft.Win32.Registry.Users.SetValue( "CSRTSName ", LoginName) The purpose of this is to save last logon user's name into registry, and on next logon, the same user doesn't have to type in logon name. This works on my dev machine and any other users who have admin privilage. But to everage users, I got above error. How do I grant permission to my code By the way, I did not find that key on my own machin ...Show All

  • Software Development for Windows Vista Why I can not find 1394 camera?

    I can use DirectShow to connect with USB camera, but the same program can not find 1394 camera. I used two interface, ICreateDevEnum and IEnumMoniker, as follows: ICreateDevEnum * pCreateDevEnum = NULL; IEnumMoniker * pEnumMoniker = NULL; // Create Device Enumerator, it is success hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC_SERVER, IID_ICreateDevEnum, reinterpret_cast<PVOID *>(&pCreateDevEnum)); // Create the enumerator of the monikers for the specified Device Class & reset them, it is failed hr = pCreateDevEnum->CreateClassEnumerator(CLSID_VideoInputDeviceCategory, &pEnumMoniker, 0); It said pEnumMoniker was not initialized. How can I do no need to ...Show All

©2008 Software Development Network