trekkie25's Q&A profile
Visual Studio Express Editions loginform trouble
I would like to make my program so you have to log in to use it, i only need one password and username. I am using the loginforum found under the add user control option. I dont need to be able to change the username and password or anything special like that. I only want to be able to use this to log in and access the program. If anyone could tell me how to implement this into the program that would be great. I dont exactly get how to use what your are trying to give me. I just need a simple way to password protect this thing. It doesn't need to be encrypted, it doesn't need to be unhackable, i just want a very simple logon window. Now i was going to use thecode you gave me because it is just what i was looking for, but i am not sure ...Show All
Software Development for Windows Vista Assign a different Item for each task in a task replicator
Hi, i made a task replicator in my workflow and i'd like to know if it's possible to assign different item (document) to each task. In the object SPWorkflowActivationProperties i saw the Property item, itemId and itemUrl. So it's easy to change the item of the workflow. But in the object SPWorkflowTaskProperties there is only the Property TaskItemId. During the execution TaskItemId Property is set by default to -1 and when i change it, it doesn't change anything. The task item is still the Workflow Item. asked me if you need more explanations. Thanks Sam I don't manage to find the answer. Do you think I have to do a workflow for each item(document) Is it possible to start a wo ...Show All
Visual Studio Visual Studio - TabGroups in the Text Editor
Is there a way of getting the tabgroups to put its tabs into "multiline-mode" It sometimes bothers me having to use the left/right-arrows to go between files. Is it maybe possible to get this multiline behaviour through a AddIn Im mainly asking so I dont start making a AddIn for this and then there allready is a solution Sincerly Yes. But what I am thinking about should'nt be that hard. Unless the TabGroups dont have the option at all to be multiline. ...Show All
SharePoint Products and Technologies setup sharepoint 2007 inside virtual server to access SQLServer 2005 that exists outside
Hi! I'm trying to install sharepoint 2007EE in a virtual server win2003R2 to access SQLServer 2005 database that exists in the machine (outside the virtual server). I'm selecting to create a new server farm and when asked to enter the SQLServer I select the real server name and a REALSERVERNAME\SQLService user that I've created. The system gives: "The username is invalid. The account must be a local account or a global domain account.". What Am I doing wrong Thank you, Jorge Hello Jorge, Make sure that you do not have any (trailing) spaces after the username you entered. This is a common mistake when using a cut and paste action from an email or document where the accoun ...Show All
Visual Studio Express Editions Debugging running very slow
While working on my program, I run the debug to test it out. It is running very slow. I saw somewhere where VB Express takes up a lot of RAM. My computer has 640 MB of RAM. Is it running slow because it is in debugging mode Because if this is how slow the actual program will run when I release it, I have a big problem on my hands. I don't think I'm doing anything overly complicated. For example, the main screen has 3 buttons. When I click on one of them, it takes several seconds (20 ) just to open a form with a DataGridView. Can anyone tell me if this is normal Thanks. John I'm sorry, but I don't know what a latency is. What hardware configurations are you referring to The Make table has over ...Show All
Visual C# Objects, TypeConvertors and Settings
I have a object which I am trying to store as a setting for an application. As the nicest way to do this would be to serialize it as a string, I created a TypeConvertor with which to do this. The object is of type DriveList, and is pretty simple. I have tested my DriveListConvertor in a seperate project (minus the context and culture declarations), and it appears to be functioning correctly. But when I try to add a setting in the designer, all I get back is "'<my string>' cannot be converted to an instance of type 'DriveList'." [TypeConverter( typeof (DriveListConverter))] class DriveList { // Declarations and implementation. } class DriveListConverter : TypeConverter { new ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Convert LPDIRECTDRAWSURFACE to LPDIRECT3DSURFACE9 ?
I’m writing a Camera Image Grabbing application using the Matrox Imaging Library (MIL) and DirectX. The MIL camera image buffer can be forced to be a DirectX surface with a creation flag. From the camera image buffer it’s possible to acquire a LPDIRECTDRAWSURFACE pointer. I want to display the camera buffer using Direct3D. My solution was to set the camera buffer as the render target of my D3D-device and Present(). This is not possible because the Device::SetRenderTarget()-Function does not take a LPDIRECTDRAWSURFACE pointer but only a LPDIRECT3DSURFACE9 pointer. So I’m asking if it is possible to convert (or cast) the DDraw surface to a D3D surface And on the same topic, as I will need this later: Is it possible to convert (or cast) the ...Show All
Visual Studio 2008 (Pre-release) Reporting with WPF
Hi all What is intended to do reporting with WPF FlowDocument Are there any third part building some report tool based in WPF ...Show All
Smart Device Development 2nd try: What DLL are wave routines in?
I'm having trouble getting access to some wave routines: I have been using these routines to access sound under Windows XP using the winmm.dll DLL. I would like to know which DLL these routines are in under WM5 (if at all) [DllImport(DLL)] public static extern int waveOutGetNumDevs(); [DllImport(DLL)] public static extern int waveOutPrepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutUnprepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutWrite(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutOpen(out IntPtr hWaveOut, int uDevi ...Show All
Visual Studio Tools for Office VSTO Outlook Add-in Debug errors even for simple HelloWorld add-in
I am trying to learn about VSTO Outlook development and I've tried several Outlook add-in samples online. I'm getting all kinds of weird behavior when I try to debug even a simple HelloWorld add-in. public class ThisApplication Private Sub ThisApplication_Startup( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Startup MsgBox( "Hello World" ) End Sub Private Sub ThisApplication_Shutdown( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Shutdown End Sub End class Sometimes I get the following in a Microsoft Visual Studio message box: "Unable to start debugging. Check for one of the following. The application you ...Show All
Microsoft ISV Community Center Forums Gantt Chart component/library
Hi, I am looking for a component or a library or a framework to draw Gantt Charts much like MS Project. Either a free or a paid solution will do. I need to be able to incorporate it with my .Net application (written in C# 2005). I have searched around and found several solutions which more or less come close to what I am looking for. But I would like to hear from someone who might have researched it in the past and know about some good components or libraries out there. Basically, I would like to simulate MS Project's project management charting solution, but in a simplified version. Thanks in advance for any pointers. Mehdi I understand you didn't find a good Gantt Chart component yet, with a lo ...Show All
Software Development for Windows Vista Is it possible to call CBaseInputPin::GetAllocatorRequirements in CBaseOutputPin::DecideBuferSize ??
I write source filter which transmit video data in format h.264 to ffdshow mpeg-4 video decoder. my_source_fliter->ffdshow mpeg-4 video decoder-> render filter I try to retrieve the allocator properties requested by the input pin of ffdshow mpeg-4 video decoder. In this case I think that I must use CBaseInputPin::GetAllocatorRequirements in CBaseOutputPin::DecideBufferSize(IMemAllocator *pAlloc, ALLOCATOR_PROPERTIES *pProperties) { } Have I right How to implement GetAllocatorRequirements in above function I try to do it but i still have a problem Please help me ! The output pin calls GetAllocatorRequirements before it calls your DecideBufferSize method. The pProperties ...Show All
.NET Development TCP/IP encryption?
How can I ensure that TCP communications are entirely secure SSL Stream and Negotiate stream provide the necessary classes. If you don't want to use these classes (based on X509Certs and UserCredentials), You can roll your own with the CryptoAPI and encrypt the data yourself. As with any encryption scheme, the crux of the issue is the key distribution. No matter how smart the system is,if it stores the secret keys somewhere, then it is prone to attack. ...Show All
Visual Studio Express Editions Visual Studio express C++ forms controm template
Hello, I'm trying to make a new forms control project but the template is missing in the new project screen. Maybe it's normal but I don't know, so I'm looking for an answer. If it should work what should I do to recover this problem Thank you in advance. Bye. In most cases, the missing templates/priject types are limitations in the Express edition. You might find them in larget editions. The folks at http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=2&SiteID=1 might be able to confirm. Thanks, Ayman Shoukry VC++ Team ...Show All
Community Chat Using Vista?
Good idea Joe! Okay, I'll go first. I'm using Vista RC1 full time now. The computer seems quieter--doesn't take so many trips to the hard disk for VM paging. I find going back to XP an unpleasantry, so I think Microsoft is succeeding here. Glass is nice. I think the performance is what I expected it to be on an Intel Advanced Graphics card (Dell Dimension 9100). Office 2007 is also pleasant to use, but they stil have some cleanup work to do on their UI. Who else is using Vista Brian I would never recommend installing over Windows XP until Vista RTMs. You should install on a different partition. It will set your machine up for dual booting where you can choo ...Show All
