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

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

LORDTEK

Member List

unthreaded
Peter Wimmer
Joshua Garvin
Ben Amada
Tdar
Predator14567
abacajan
Michael J Brown
Markmar11
Erik_Olofsson
Bandile
Rajesh batchu
RichardMW
larsarve
rivi
Eduardo Hdez.
Jonathan Wong
AnneR
johnvarney
jturpin
Only Title

LORDTEK's Q&A profile

  • Visual Studio What am I supposed to do after I create a project in IVsProjectFactory::CreateProject?

    Hi all, I am trying to write a new project type package to add support for additional programing language into the Visual Studio. So far I get the IDE to show the new project type in the New Project dialog and to call my implementation of the IVsProjectFactory interface. When the IDE calls the IVsProjectFactory::CreateProject I copy the project template files into the new project directory. Then I create a project object that implements the IVsProject3 and IVsHierarchy interfaces and return it back to the IDE. This is where I am stuck. The IDE then calls some methods on the IVsProject3 and IVsHierarchy interfaces, querying and setting some properties, but it doesn't show the new project node in the solution explorer. There is only the t ...Show All

  • .NET Development Drawing on web pages

    After way too much research and study, I have not been able to determine how to draw on web pages (not forms). Is it possible If not, how do I launch a seperate form, and can I draw on that (as the client) Thanks in advance. Below is a minimal HTML document with VML that works fine for me (when saved as e.g. document.html) with IE 6: <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Minimal VML example</title> <style type="text/css"> v\:* { behavior: url(#default#VML); } </style> <xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v" /> ...Show All

  • SQL Server Storing Files (.doc, .pdf, .xml) in Image Columns 2005

    I did some quick Googling and didn't find the article of my dreams here. Any experience with storing files in the db in 2005 Any opinions Here's the deal. We have our new 'Enterprise' software being designed and written in St. Petersburg (not FL) and I'm reviewing the design for dealing with letters and forms that are generated as hard copy from our business (by the thousands per month) and sent to clients for review, signature etc. Then they are returned by fax or snail mail. The current design has all of these being stored in image data type columns in the database--storing saved files of the actual outgoing stuff and saved files of the stuff that comes in (scanned copies or the files from our fax server). This screams 'BAD IDEA' based ...Show All

  • SQL Server Collapsing columns in table mode, part II

    I figured out how to collapse a column, but the report generator is maintaining the space that the collapsed columns occupied even when the columns are hidden. For me, it's valuable for space optimization to have all remaining columns to the right "move over" to be flush against the other visible columns. Can this be done Hi Chris, thanks for hte response. I tried what you suggest, and that is select an entire column and assign a textbox to control the visibility, but whenever I did that, I get the following error: "The definition of the report '/ForecastReport' is invalid. The table 'table1' has 'textbox37' as a toggle item. Toggle items must be text boxes that share the same scope as the h ...Show All

  • .NET Development i had similar experience

    I have a web service method that returns a fairly large payload - around 70MB of xml. The client application break on receive with the OutOfMemory exception. Now, I understand that even though my workstation has 2 gigs of RAM it doesn't mean that all of that is available to my application. But how do I know how much memory IS available How is the memory allocated How can I calculate the hardware requirements for my scenario Rizwan, thank you for your response, nobody from Microsoft seems to care even though it's supposed to be a managed forum. I understand that having 2 gigs doesn't mean that I can load 2 gig files, but still I expect a 100 mb file to be loaded (it's only a 1/20th of system memory disc ...Show All

  • Software Development for Windows Vista mc.exe can't find nlsdl.dll on W2K3 SP1

    Mc.exe from July 2006 CTP requires nlsdl.dll now ( DownlevelLocaleNameToLCID function). This call requires "Microsoft NLS Downlevel Data Mapping APIs on Windows XP (SP2 or later) or Windows Vista" according to specification ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/intl/nls_DownlevelLocaleNameToLCID.asp ). The link says that I can download the required header file and DLL from the " MSDN Download and Code Center ", but I can't find this stuff there. Where I can find nlsdl.dll for my Windows Server 2003 R2 (x86) Regards, Sergey. I had a horrible time finding that. Its at this URL: http://www.microsoft.com/downloads/details.aspx FamilyID=eb72cda0-834e-4c35-9419-ff14bc349c9d& ...Show All

  • .NET Development Transfering large volume of binary data through the wire

    Hi everyone, We have data reaching upto 100 MB.We are sending data in the form of byte[]. Which technology should we use in this case,for data transfer .I had used DCOM which was sufficiently faster.Both the server application and client windows application are written in .Net. (visual studio 2003 and .Net 1.1). we don't need to publish a webservice.Communication can be done through VPN. Remoting might not be useful in a scenario, where data reaches up to 100 MB,I don't know.Can we consider socket programming or should we stick to webservices. Any help would be appreciated. Thanks Abhi Remoting can be used to transfer 100MB data, however there a couple of things to consider: 1. Appli ...Show All

  • Visual Studio Express Editions Controlling Device through WMI

    I want to control and configure the access properties on USB storage devices(read and write). And I want to enable and disable the device. Can I do it with the help of WMI Or there is some other Win API is available. Please solve this issue using .NET (VB.NET or C#) download the WMICodeGenerator tool and see if you can find classes/methods available to do your request and then view the code required to do it :-) http://www.microsoft.com/downloads/details.aspx familyid=2CC30A64-EA15-4661-8DA4-55BBC145C30E&displaylang=en ...Show All

  • Visual Studio Express Editions Null Reference Error

    This is still being a problem for me.   Public Shared Sub loadcw( ByVal vary As String , ByVal num As Integer )         Dim tmp As CheckBox         Dim tmp2 As CheckBox         Dim tmp3 As TextBox           If vary = "C" Then             tmp.Name = "C" & num             tmp.Checked = True          ElseIf vary = "W" Then             tm ...Show All

  • Visual Studio Express Editions [VB.Net] Error running my program on other systems (clr20r3)

    Hi, I'm a bit new to programming and I've made a program in VS2005 based on VB.Net. In this program I use a few components like windows mediaplayer and dirextX audio. When I run the (with ClickOnce) instaled program on the system I programed it, it runs fine. But on onther systems it gives a error at startup. I've already did some searching on the net and find out it could be the intergrated components. I have tryd to set all components to "include" but that did not make any difference. Still the error. My question is: How can I check what is missing on the other systems Or what else can be the problem I can place both codes online so you can view/test them. If you have the time. Ofcorse I stay ...Show All

  • Connected Services Framework Eventing in CSF

    Hello, I would like to get more details about how to use eventing when writing a WES for CSF. First of all I would like whether there is any difference between the Provisioning Events, Health Events and Usage Events The provided samples with the WES toolkit don't implement any of them (except usage) so I would like to know if they are all implemented in the same way. To the more importaint question: how do I configure the sample from the WES toolkit for Usage eventing to work What is the role of Usage Event Poller included with the WES toolkit Generally what I would like to know is how to send events Is there any more documentation written on this matter And one more dummy question. What is the difference between sending a message in CSF ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Sprite Rotation Issue

    For some reason my sprite will jitter while moving if I rotate to 270 degrees (it flips at exactly 270 degrees). Any suggestions float xSpeed = (float)(Math.Sin(Angle) * mSpeed); float ySpeed = (float)(Math.Sqrt((mSpeed * mSpeed) - (xSpeed * xSpeed))); if (adjustedAngle < 0) { ySpeed = ySpeed * -1.0f; } if (adjustedAngle < -180) { ySpeed = ySpeed * -1.0f; } if (adjustedAngle < 90 || adjustedAngle > -90) { xSpeed = xSpeed * -1.0f; } if (adjustedAngle < -270 || adjustedAngle > 270) { xSpeed = xSpeed * -1.0f; } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using directx without a soundcard

    I have an application that compresses wav files (voice recordings). The compression method I use does about a 9:1 compression. Saves me a ton of disk. Unfortunately, the 3rd party app loses its mind. And I have to use that 3rd party app. I use DirectX to examine the input file and then compare it with the output file. If the comparison is more than +/- 1 second different, I quit with an error. Microsoft.DirectX.AudioVideoPlayback.Audio aud = new Audio(FileName,false); audtime1 = aud.Duration; This works great on my workstation and the test workstation. Unfortunately, when I deploy the app to the server, it doesn't work because the server doesn't have a sound card. I did install the latest version of directX on the server. Short of buying ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .X -> ModelMesh - textures?

    I imported a few .X models in my XNA project to figure out the basics of the ModelMesh. Applying custom effects and so on works already, BUT if a mesh has multiple parts and each has a different material, I cannot figure out where in the Model or ModelMesh is that information (I cannot guess the material and do not want to hardcode it or the name of the textures). Can anybody tell me where to get that information from when I load a model via the ContentManager That is interesting, but did not really hit the spot. I can already draw models, even with a custom shader. I know the model and of course the material and texture I use, so I theoretically could go ahead and hardcode something like if model is A lo ...Show All

  • Visual C++ How to call the functions in a .lib

    Hi All I have a .lib and i am trying to use it within a VC++ 2005 project. I actually built the .lib in VC 6 but then i rebuilt it using VS2005 as well. basically the code in the pure C. the names of two functions are GenerateList(...) DestroyList(...) Now when i try to call them in my VC++ project then the linker says that the functions are unresolved symbols. What could be going wrong Am i missing something How should i import the functions exactly any one can help. Aamer   Aamer wrote: thanks dear    You're welcome. To have this in the clear, though; I'm not female   Aamer wrote: ... but i have tried that all. The library is ...Show All

©2008 Software Development Network