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

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

devdev33

Member List

russlunn
pritha
Vishal Chopra
John230873
mpolly
ukgam3r
guy kolbis
sobo1
perez6558
lib_team
nhaas
Carambula
Ride44
zkhan
Damir Dobric
dmadrian
rad2319
Jose A. M.
Russt
daname
Only Title

devdev33's Q&A profile

  • Visual Studio Express Editions Media files mp3's in VB express please help..to another computer

    New in VB . I put a mp3. file in my application using AxWindowsMediaPlayer and putting the url C:\Documents and Settings\ etc...It works on my pc, but i tryed sending the exe. to somebody else but they can't hear the music. They could run the exe program but can't hear anything. So i was wondering if anybody could help me........to fix this problem ...what could i do thanksssssss what spotty said about making sure the file exists before playing is very true, and so it should be. Of course if you move the file then no doubt the file wont play. you need to be sure that the file exists before/during playing otherwise you will get the error you are having right now. Asking the user to select a file to play is good design rather than ...Show All

  • Software Development for Windows Vista Using ExtEscape to write documents to a file in xps format!!!

    Hi *, Can I convert my documents (word, xls, pdf etc) to XPS using Microsoft XPS Document Converter (MXDC). The following API gives one flag which can suffice my requirement, can somebody please give me pointers of how to use it. MXDC_ESCAPE Windows Vista: Enables applications to write documents to a file or to a printer in XML Paper Specificaton (XPS) format. ExtEscape The ExtEscape function enables applications to access capabilities of a particular device that are not available through GDI. int ExtEscape( HDC hdc , // handle to DC int nEscape , // escape function int cbInput , // size of input structure LPCSTR lpszInData , // input structure int cbOutput , // size of output structure LPSTR lpszOutData // ...Show All

  • Windows Forms Installer not Installable

    I wrote a windows service and an msi installer for the service using VB8 in VS8 Professional SP1, OS Windows XP Prof. SP2 I could compile and install fine for some time but at some point when i wanted to install the program on my development machine it started telling me the following bug (in the system eventlog): Produkt: LSCKeepAlive -- Fehler 1305. Fehler beim Lesen von Datei: Q:\Projekte\LSCKeepAlive\LSCKeepAliveSetup\Release\LSCKeepAliveSetup.msi Systemfehler 1008. Uberprufen Sie, ob die Datei existiert und ob Sie darauf zugreifen konnen. Translated to English: Product: LSCKeepAlive -- Error 1305. Error reading file: Q:\Projekte\LSCKeepAlive\LSCKeepAliveSetup\Release\LSCKeepAliveSetup.msi Systemerror 1008. Please check whether the fi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help

    Why doesn't someone with knowledge of XNA and C# programming language start a thread to explain the language and how to use it in XNA for people like me who want to make games but cant understand the complicated tutorials that the web has to offer ...Like a programming for dummies tutorials or something... Moving the thread to the XNA Groups. Have a look at http://bluerosesystems.com/CS/blogs/xna101/ , you will find some lessons on the basics of XNA. Also if you have any questions you are more then welcome to ask them here and we will all help. ...Show All

  • SQL Server SSIS in production

    We have developed a project with many SSIS packages. Now we are in a stage where we are deploying this into production. The operaitons team has asked us what are the things they need to known and do to make sure that the production system of SSIS keeps running. Can you help me in comming up with a detailed list which I can give to the operations/admin folks so that they can ensure that this project keeps running I would appriciate any help in this matter. regards, Abhishek. Well, will they be monitoring the error reports The list of things that I can think of would be: restarting the package upon failure job execution of the package (how to, when, how often, etc...) do they need to set an ...Show All

  • Smart Device Development Application only works in debug mode

    I just want to know if anybody has encounter this bug I wrote an app to interact with hardware and try to prompt the status of CTS. It works fine while i debug it. but i start losing data while running in normal or release mode. the only factor i can think of is speed. but it still couldnot explain why the app is not working properly. Any suggestion I am having the same problem. However, the device is card reader. When I walk through it in debug mode, it works fine. However, when I use release mode, it does not work and there are errors. I am using vb.net 2005 pro. Any help with this would be greatly appreciated. cheers Hawk ...Show All

  • .NET Development Problem Deleting entries from windows event log using DeleteEventSource method

    I have this following code to manipulate the windows event log in my Windows Service: If EventLog.Exists("MPP_UPDATE_SERVICE") = False Then EventLog.CreateEventSource("MPP_UPDATE_SERVICE", "MPP_UPDATE_SERVICE_LOG") If EventLog.SourceExists("5") = False Then EventLog.CreateEventSource("5", "MPP_UPDATE_SERVICE_LOG") Dim eLog As EventLog eLog = New EventLog("MPP_UPDATE_SERVICE_LOG") eLog.Source = "5" eLog.WriteEntry("5", "Fifth", EventLogEntryType.Error) Dim eLogEntry As EventLogEntry For Each eLogEntry In eLog.Entries If eLogEntry.Source = "5" Then MsgBox(eLogEntry.Message ...Show All

  • SQL Server Need to copy All oracle tables to SQL Server 2005

    I am racking my brain on this one. I am migrating Oracle data to SQL Server and would like an SSIS package that will copy the oracle data from every table to SQL server. I already have the schema set up in SQL and a straight copy of a specified table works fine between the OLEDB source and OLEDB destination. However, when I set up a loop which sets a global variable for the table names, which are identical on both dbs, and try to set the OLEDB Source and Destination OpenRowsetVariable to the global variable, the process fails with these errors with all validation turned off: [OLE DB Source [18]] Warning: Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code ...Show All

  • Visual C# Calling back into same thread from activex exe

    Hi, I've got an old VB application I recently converted to c#. My C# app calls (via com) a method in activex exe activex exe calls back into main app via com When the call comes back into the c# app, it is in a new thread. In VB it used to come into the same thread. I have the STAThread attribute set on the main method of the app. Is there a way of making this happen with my new C# code Cheers Steve An EXE-based ActiveX object is an out-of-process object. out-of-process objects generally have their own thread that is used to call into other applications. Can you explain the VB application I don't see a way, without a proxy, where a VB ActiveX EXE could call another applica ...Show All

  • SharePoint Products and Technologies Displaying InfoPath browser form within master page content

    Is it possible to modify the FormServer.aspx page or create a new page based on the default master page to display a form generated from InfoPath Forms Server I would like to have a consistent look-and-feel throughout the site, including when users fill out information on a form. Right now, the form open up full-screen with no other content other than the form itself. I would like the menu bars and navigation present on the screen to keep the user aware of where he/she is in the site. I'm aware that problems may arise should the user decide to click on one of these links outside of the form; I imagine it would be the same just as if the user navigated to a new URL - the form just wouldn't save. Anyone have any insight into this ...Show All

  • .NET Development Help with TripleDES and RC2 cryptography.

    I have 2 questions - 1) I get the following Exception when I try to decrypt data using TripleDES. - "An unhandled exception of type 'System.Security.Cryptography.CryptographicException' occurred in mscorlib.dll Additional information: Specified initialization vector (IV) does not match the block size for this algorithm." How do I make things right The code is as follows - /* Provides TripleDES encryption and decryption using classes in the .net Framework 1.1 */ public class TripleDES_Cryptography { public static string Encrypt(string plaintext, string key, string IV) { TripleDES des3 = new TripleDESCryptoServiceProvider(); des3.Mode = CipherMode.CBC; byte[] by_plaintext = Encoding.ASCII.Ge ...Show All

  • SQL Server Problem while updating data using SQLXML UpdateGrams

    A long time I used SQLXML templates on serverside to get data for my application and update some records one by one. But now I also need to update data of the whole dataset. So I want to use SQLXML UpdateGrams. (Or DataSet DiffGrams). But My first attempt failed. I have troulble with identity field. No one solution from forums or articles worked for me . So I tried to implement some sample to post here. It uses Northwind database. Sample should do 3 steps. Load data - OK Make some changes - OK Save Changes. But doing this sample I have event more  troubles. please help me. provide some sample or better show me fixes in my one. I tried to comment it and think it is rather simple. you can get it her ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. ALPHABLEND Problem when using "Front to Back" order to draw objects!

    I Draw many objects (transparent or opaque) in my project. In order to increase performance , the scenes are rendered from front to back(according to "Performance Optimizations" In DirectX SDK) . I use the code below, but nothing appeared! Please Somebody tells me why thanks a lot!!! C++ Code in Render Function: pd3dDevice->Clear( 0 , NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, D3DCOLOR_ARGB( 0 , 0 , 0 , 0 ), 1 .0f, 0 ); Pixel shader: technique TVertexAndPixelShader { pass P0 { ALPHAREF = 0x00000001; ALPHATESTENABLE = TRUE ; ALPHAFUNC = GREATEREQUAL ; ZENABLE = TRUE ; CULLMODE = NONE; ALPHABLENDENABLE= TRUE ; BLENDOP = ADD; DESTBLEND = ONE; SRCBLEND = INVDESTALPHA; VertexSha ...Show All

  • Visual Studio 2008 (Pre-release) Changing the Color of a Row On a ListView

    I'm trying to set up a listview control where if a row meets a condition i want it to change the color of the text for that row (red) else it should be the default color. I have it bound to a dataset. Could someone point me in the right direction Thanks Here's the complete Window XAML that shows how to do this: < Window x:Class = " ListViewWithHighlightRows.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:local = " clr-namespace:ListViewWithHighlightRows " Title = " ListView With Highlighted Rows " Height = " 320 " ...Show All

  • Visual Studio Stepping through single thread

    I have a multi-threaded application which consists of a main foreground thread and some background worker threads. Is there some way to step through my main thread and still have the background threads running, even when the main thread is stopped on a breakpoint I can confirm that Peter is correct. When stopped at a bp, every other thread is stopped. This is a limitation of how the OS works. In the case of debugging only managed code, the OS limitation doesn't come in to play (as an active debugging thread remains awake in the target process). My curiosity is piqued however - I'd like to understand your scenario as improving our concurrency and multithreaded support is a priority going forward. ...Show All

©2008 Software Development Network