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

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

Mapperkids

Member List

rina00
Wellnow
TigerPhoenix
-M-
airwalker2000
Mirai
lbamburg
jorisp
eng_mohamed_nagah
Aleniko29139
Deb Magsam
Jonathan Sampson
RabinLin
Sumit Sharma
leclerc9
Camey
Srdjan
Daniel Coleman
rectis
ddoolit
Only Title

Mapperkids's Q&A profile

  • Visual C++ Adding reference to unmanaged code wrapper and resolving dependent DLLs.

    Hi, I'm having a problem with a Web Service that I'm creating. My solution contains three projects. One is an unmanaged C++ code library, the second is a managed C++ wrapper for this library exposing the code I need to consume in a web service, and the third is the web service itself. I can compile and build the unmanaged library and the managed wrapper, and test this library from a console application. However, when I try to add a reference to this managed wrapper to my web service I get this error message: Error 1 The specified module could not be found. (Exception from HRESULT: 0x8007007E) Now I know that my code library has some dependencies on other DLLs, but so far I've not been able to work out how to build the managed ...Show All

  • Gadgets Which culture?

    Hi,  which culture settings influences the decision which locale will sidebar choose  I have czech format set, czech location and czech system locale (for non-Unicodes) in regional and language options, however, the sidebar still chooses the en-us version of gadget. Vista UI is english of course.  The .Net framework returns System.Globalization.CultureInfo     base {object}: object     CurrentCulture: {cs-CZ}     CurrentUICulture: {en-US}     InstalledUICulture: {en-US}     InvariantCulture: {}  What should I change to test my gadget localization Thanks Edit: PS: Is there any way how to determine from within gadget code ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. can't build space wars; attempt causes VS 2005 to hang

    I have Visual C# 2005 Express and Game Studio Express.  I've been working with random projects in 2005 Express and they compile and run fine.  I was able to build and run the "Your First Game" tutorial without any problems. I created a new SpaceWarWin project; this seemed to go fine.  But when I start to build it (F5, F6, ctrl+F5, right-click+build), the status output (lower left) says "Build Started...", but no build appears to actually start, and my entire machine slows to a crawl.  No freeze/hang, mind you, just everything very, very slow.  Task Manager shows 2005 Express as "Not Responding", and my CPU jumps to ~50% and just stays pegged there, though there's no disk activity and nothing apparently happening ...Show All

  • Visual Studio Express Editions Shared Add-In Template for VB Express

    Hi, I've been searching the net and these forums for a while and found nothing. I want to write an Add-In for Outlook 2003 in VB Express, but Express doesn't have the Shared Add-In all the samples use. Some samples say it is possible to write an Add-In manually, but I can't find a sample for this anywhere. I have downloaded the Office 2003 PIA and all the required references are available, but I need to know more; How to register the Add-In for Outlook, etc. Could anyone help I just need to know what the Shared Add-In template does. Thank you in advance ...Show All

  • Software Development for Windows Vista ShellExecute of MS Office Word fails from Win32 Service in Vista

    Hi All, We have a Win32 service from which we invoke ShellExecute to print from MS Office Word. It works fine on Win XP SP2 but fails on Vista. Can anyone please help. Thanks and regards, Mridu Hi Mridu, It sounds like the word window that pops up with the ShellExecute command is getting placed on the session 0 desktop, I am wondering what happens if you try the same command however on a .txt file to see if notepad could handle the printing operation. Elevation would not work in this case as session 0 is completely isolated. A possible mitigation could be to create a small client interface and have the service communicate (via RPC) with the client interface and have the client perform the S ...Show All

  • .NET Development Who's using .Net?

    I am just starting using VB.Net and loving it. But can anyone point to an example of an application created using .Net It seems as if Microsoft doesn't make many apps with it. I am trying to show coworkers some examples. Thanks, Chris Its a good question and one that I've thought about. If you were to look at the top 50 big apps (servers, office suites, cad, 3d etc) I would imagine it would be very low percentage if at all. This is not a demerit to .Net since that list was very similar 10 years ago and you do not port your multi-milllion line code base in the face of anything other than total obscolescence. Its also important to regard the changing structure of the software market towards web develo ...Show All

  • SQL Server how to add rows with Script Component?

    Why am I getting this design-time error from my script: 'Microsoft.SqlServer.Dts.Pipeline.ScriptBuffer.Protected Sub AddRow()' is not accessible in this context because it is 'Protected' Here's my script: ' Microsoft SQL Server Integration Services user script component ' This is your new script component in Microsoft Visual Basic .NET ' ScriptMain is the entrypoint class for script components Imports System Imports System.Data Imports System.Math Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper Imports Microsoft.SqlServer.Dts.Runtime.Wrapper Public Class ScriptMain Inherits UserComponent Public Overrides Sub Input0_ProcessInputRow( ByVal Row As Input0Buffer) Dim outp ...Show All

  • SQL Server SSIS Package and Sql2000

    Hi all, I have a development server running in sql2k5 and vstudio 2k5 and a production server running sql2k. My question is this: if i create SSiS packages in my development server and install it in my production server will my SSiS Package run in the sql2k environment if so would there be any problem installing SSiS services only in my sql2k environment What should i look out for Thanks. ...Show All

  • Visual Basic SQL and variables

    I am having a problem with an sql statements in my VB.net form. The DB is access and the sql is as follows: SELECT [firstname], [surname], [activityId] FROM tblTraveler WHERE [bookingID] = booking Booking is a integer variable, I am not to sure if I have entered the variable correctly into the sql. When I run it it says that there is a missing parameter. Can anyone see the problem here Thanks in advance Graham the best way, best practice, of doing the above as given by Lars, is to use Parameterized queries. it helps the confusion to become clearer as well as being securer: Dim Query as String Dim Booking as Integer = 1 Dim command as new SqlCommand( "SELECT firstname, surname, activityId FROM tblTraveler WHERE booking ...Show All

  • .NET Development The constructor to deserialize an object of xx.xx. was not found

    I'm having deserialization problems.. I have a class that inherits from Hashtable. I can serialize it fine but when I try to build the object back it says ""The constructor to deserialize an object of type Teste.CSDictionary was not found.", where Teste.CSDictionary is my class... I use .NET 2.0... Here goes my sample code: [Serializable] class CSDictionary : Hashtable {     public CSDictionary()     {     } } class Class1 {     static void Main(string[] args)     {      CSDictionary x = new CSDictionary();      BinaryFormatter bf = new BinaryFormatter();      MemoryStream ms=new MemoryStream(); // ...Show All

  • Visual C++ Memory mapped file size limit

    I have a program that creates memory mapped files (shared memory) and are not mapped to a file directly. When I try to allocate a bunch of memory mapped files, it works fine with 128MB and 256MB chunks but fails with 512MB and 1GB chunks. CreateFileMapping succeeds but MapViewofFile fails with GetLastError 8 (ERROR_NOT_ENOUGH_MEMORY). This is on a Windows 2003 server 32-bit edition SP1 with 4GB ram and the page file size is set to 'System managed'. Any ideas as to why allocation of say, five 256MB memory mapped files works fine but allocation of one 1GB memory mapped file fails with ERROR_NOT_ENOUGH_MEMORY Thanks in advance, Shashi. This is not a VC Language question; it is a Windows question ...Show All

  • Visual Basic Databases

    Hi there, I have my connect to my database alright and sucessfully filtered it. I know there will be only one row left so how do I get the contents out of one of the columns to put in a textbox Thanks, AliQ Geert Verhoeven, That is very good code but that does not help me because I am not writing a console application and I am using access for my database. Thank-you anyway. If you do know how to get it out of a access database using VB in a windows application that would be a great help. Thank-you, AliQ ...Show All

  • Visual Studio 2008 (Pre-release) Setting the Via for MetadataExchangeClient

    I am experimenting with using the MetadataExchangeClient class to get device profile information from a device. To do this, I need to have a uuid in the To: address, yet send the message to different physical address. I think I can do this with a normal client by setting the Via (although I have not tried that yet). Is there anyway to do this for MetadataExchangeClient Thanks for your time. Kevin You are correct that the key thing is to specify a Via that is different from the (To) EndpointAddress. It is a shame that this isn't easier, but the code below will work. The only way to 'get at the Via' from MetadataExchangeClient is to override the ChannelFactory it uses so that the factory will contribute the Via. Below is a cod ...Show All

  • Visual Basic SplitContainer without the splitter

    How do I remove the horrible dotted line that the SplitContainer has when it is selected If I'm not completely mistaken, the dotted line is the focus rectangle. If you don't give any visual clues as to when the splitter is selected, it makes it very hard to use the keyboard to change its position (the user wouldn't get any feedback that the splitter is the currently selected item) The focus rectangle shows up for pretty much every control that can currently has the focus. Best regards, Johan Stenberg ...Show All

  • Smart Device Development Problem related saving the image to a file at runtime

    hi all, I want to save the image at runtime. If user changes the current image, then it should prompt for replace and if user says yes, then it should replace the existing image file.or open the savefiledialog to save the image if user refuses to replace. I tried alot but didnt got any solution. DialogResult Result = MessageBox.Show("Do you want to save the changes", "Save", MessageBoxButtons.YesNo,MessageBoxIcon.None,MessageBoxDefaultButton.Button1); if(Result == DialogResult.Yes) if (File.Exists(FormClassReference.DeviceImagesForm.ImageCollection[ImageIndexForPreview].ToString())) { StreamWriter(FormClassReference.DeviceImagesForm.customSnapList.ItemsCollection[ImageInd ...Show All

©2008 Software Development Network