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

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

ShadowOfTheBeast

Member List

Amos Soma
επιστημη
Mr Cai
N B
Halaway
haridorai
Leaf.
Diffused Mind
Zeldacat
Sayor
mehoss
Beny at work
OMJAI
Chimme
rr_rej
Patty C
DarthCoder
Jstun
Matt Lin
SuperJeffe
Only Title

ShadowOfTheBeast's Q&A profile

  • Microsoft ISV Community Center Forums MS Office document and image writer print driver

    Besides removing this feature from Office during setup, is there a process to remove this virtual printer from 300 users with roaming profiles on an active directory network We are having an issue with this printer assuming the "default printer" selection for our users. As a work around we have changed their default printer, but after they reboot or log off / on it has defaulted back to the MS Ofc doc and image writer printer. Hello, I have the opposite problem. I have users who have had the icon for the Office Document Image Writer deleted under Printers and Faxes. You mention above that it is easy to reinstall the virtual printer. Could you point me to the directions for reinstallation pleas ...Show All

  • Visual Studio Express Editions Application to generate MS Word document?

    Is it possible for a C++ application to generate the MS Word *.doc files For example, if I had a form with two text boxes and a button on it. When the button is clicked, would it be possible for the program to make a new MS Word document that has a 2 cell table with the text box values in each cell, and save this Word file to the current directory If so, any pointers to the libraries to use or whatever tools I would need would be greatly appreciated. Thanks in advance If you are using the 2003 version of Word, it supports XML and it might be easier for you to generate a WordprocessingML (XML) document and just open it in Word. Take a look at this blog entry and try the example. Generatin ...Show All

  • Visual C++ How to copy a specific contents of a char array to a string variable

    Dear folk, using win32 C++, I am looking for a function that can copy a specific number of charactes (starting from a specific index), of an char array to a string variable. a code snippet as follows: { char charArray[255]; string stringVariable; //copy a substring from charArray[12] to charArray[25] into string. } I wonder if there is such a string function that can help me to achieve my requirment. Regards Bassam You can make use of strncpy function The link also contains the sample code ...Show All

  • .NET Development MS SQL2005 + ADO.NET + SSL problems

    Hi, I've the following problem. I wanted to make connection from client to my database secured. I changed settings in SQL Servers as I read in http://support.microsoft.com/kb/316898/ article. I generated certificates and installed them on clilent and server. Those was done. The I tried to connect to database with following connection string Data Source=ATON\\FastPayTest;Initial Catalog=FPOLAP;User ID=sa;Password=7777777;Encrypt=true and I've got an Exception: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: S ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Deciding where to land the main window when it's constructed

    I have two monitors, one 19" CRT (main) at the right, and a 26" LCD at its left. So far, the XNA examples (the packaged one and some from people) have a tendency of making this window lie on both monitors. There's about 100 pixels laying on my left screen and the rest in the right screen. This makes it the program run VERY choppily, until I move the window fully into only one monitor. Also, while I'm accomplishing this moving task, the mouse cursor refreshes in windows about once per second, increasing the difficulty of that small task. I've tried doing: graphics.GraphicsDevice.Viewport.X = 10; graphics.GraphicsDevice.Viewport.Y = 10; but it doesn't appear as if I can. Ok, that makes sense. I re ...Show All

  • Microsoft ISV Community Center Forums Excel Time Help

    Hi all, This is my first time posting here , hope i will be able to find the answer i am looking for. I'm very new to vba so please bear with me. Here goes, this is the problem i'm having at the moment with my formulas and vba. I am currently desinging a roster for my workplace and the problem i am having is to work out the night shifts. these night shift start at 23:00:00 and end at 06:00:00, now because there is a change in date between 23:00:00 and 00:00:00 im finding it very difficult to find the appropriate formula. Let say the shift worked is starting at: 22:00:00 and ending at 07:00:00, what i would like excel to do is to calculate how many hours are worked from 22:00:00 to 23:00:00 and from 06:00:00 until 07:00:00 in on ...Show All

  • Visual C++ double to decimal representation - more digits than necessary are produced

    Hello everybody... I've got a question that has been making me suffer unberable pain recently, and it concerns the following snippet: double x = 8517.44; printf("%.25G\n",x); The printed result is 8517.4400000000005. Ok, internally, the number is represented as 1.0397265625000000621724893790087662637233734130859375 x 2^13 = 8517.440000000000509317032992839813232421875 When converting that number to string, how does VC++ decide how many decimal digits to produce I'd expect a reasoning in the lines of : "Representing 8517 requires 14 binary digits. An IEEE double has 53 binary digits precision, so 40 binary digits remain for the fractional part, or 2^40 different possibilites. However, 10^11 < 2^40 < 10^12, so 12 decimal di ...Show All

  • Visual Studio Express Editions Remove item from listview

    Hi I'm trying to remove items from a listview, but it's dificult. The list view has these items: bogascorp netcount tuga To add items a do: listView1.Items.Add("tuga", 0); To remove a try: ListViewItem lista = new ListViewItem ("netcount"); listView1.Items.Remove(lista);   But it doesn't remove! What i want to do is this, by providing a string it should delete the item that has the same name as the string. Hi. The item doesn't get removed because it's not contained in the listView1. Although the text is the same, it's not the same item. I'd suggest you include the item keys when adding items to the list, like: listView1.Items.Add( "tuga" , "tuga" , ...Show All

  • Visual Studio Express Editions on my button click i am getting an error

    on my button1 click i am getting the error System.Security.SecurityException was unhandled Message="Request failed." Source="ShapeModel" StackTrace: at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet ...Show All

  • Microsoft ISV Community Center Forums Outlook 03 help

    I am running outlook 03 and for some reason it will not launch. I tried using the detect and repair function however it still won't open. If I reinstall it will I loose any of my data such as contacts, ie. Thanks ...Show All

  • Visual Studio How can one get a handle to the CompilerResults class from a regular build?

    Hi folks, Does anyone know how I could get a handle to the CompilerResults class when the user builds a project in C# Or is this impossible I've found a way to intercept the TaskListEvents from the DTE (I'm now using an add-in), but the taskitems it contains don't return the compiler error number, which I would like to keep track of. Does anyone have any ideas I'm not feeling the love here :(. tom Answering some old questions for the archives... CompilerResults can only be retrieved when compiling through the CodeDOM, not when compiling with the command line compiler (VS uses something similar to the command line compiler). The only thing you can do is to open the output window and find ...Show All

  • SQL Server Report Builder Query

    Can we view the query that is fired on the Report builder to debug as i am finding some error in data... http://blogs.msdn.com/bobmeyers/archive/2006/07/05/657125.aspx tells how to do it. R ...Show All

  • Visual Studio Remove “View Code” from Context menu

    I have an editor register for a “.xyz” file. On the Context menu I see a “View Code” option. I would like to remove it for the .xyz file. How can I Do this Also I would like to remove the “Cut”, “Copy”, “Delete”, “Rename” Options from the context menu (.xyz). Is this possible If so how can I do it Thanks Hallo, First of all, do you mean the context menu in the editor or the one when you right click the file in the project hierarchy Since you also want to remove the Cut, Copy, Delete, Rename commands, I guess you mean the one in the project hierarchy. To change or control the appearance of these commands, you have to be the implementer of the project. Then you can control all th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is there a way to define default values for properties in a GameComponent?

    Hello. I was wondering if there's a way to define which default values appear in the designer view of a component's properties. You know, the values that are not bolded, and appear as a default when you first add a component Thank you in advance. :) Edit: Ok, shortly after posting this, I found out how to define the default values (you just have to initialize the correspondent private variable with the value you want), but how do you make the default values "unbolded" string prop; [DefaultValue="hello"] public string MyProp { get { return prop;} set { prop = value; } } ...Show All

  • Smart Device Development outofmemory exception when loading an image

    I'm developing an app that load an image, high resolution (Image size) when I load it always raise an error "outofmemory". the weird thing is I can load 2MB picture with 1600x1100 resolution but I can't do the same thing with 400KB image with 3200x2200. this is my code, perhaps I was wrong public sub loadimage() try picturebox.Image = New Bitmap(OpenFileDialog1.FileName) picturebox.SizeMode = PictureBoxSizeMode.StretchImage catch ex as exception end try end sub Is there any limitation (sorry for the language) of size that picturebox can handle or do you guys have tricks that can manage the memory dispose can you write me the code thanks.. I think its more to do with the resolutio ...Show All

©2008 Software Development Network