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

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

Dale17677

Member List

hanumanth
jwalker343
ben5173
Chimme
Krutika
glasssd
son of dad
OrpheusTheBard
Paul R E
Colin Bowern
sigurdr
allison_h
js06
Terence Chua
Latso
steal
Marlun
Derek Smyth
simon.bruynsteen
Quinn01
Only Title

Dale17677's Q&A profile

  • Visual Basic Moving a form

    Hi there, Currently in my application I have made it so I have no form border. I have put in my application.exit and minimize code but I'm wondering what the code is to move the form around ONLY when pressing down on a button/control. Thanks, AliQ Hi, I've been playing with this which moves the FORM to 250,250 on button1 being clicked. The second Sub will move the FORM around when you click a mouse button on it, but i'm still working on doing this while a button is down. Me.DragDrop may be the way to go ahead with this, i'm not sure. Regards, S_DS Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim mouseEventArg As ...Show All

  • Visual Studio Team System Reports only work when User is part of Local Admin Group

    Users can only view reports if their domain user account is added to the Local machines Administrator group. I am at a loss as to why The failure seems to be happening in report services. I get the following error: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'IterationParam'. (rsErrorExecutingCommand) Either the user, domain\username, does not have access to the TfsWarehouse database, or the database does not exist. Any suggestions are appreciated. Thanks -Ken Villines Hi Ken, Please see if your data sources appear like they do in this doc: http://msdn2.microsoft.com/en-us/library/ms253106(vs.80).aspx ...Show All

  • Smart Device Development Deploy CF 2.0 CAB using project

    I have the same problem. I've created a CAB project in VS 2005. After I add the project output to my File System on Target Machine, I see that it added mscorlib.dll, mscorlib.tlb, System.Data.Common, and System.dll. I tried to let those files in the Application directory and move them to the Windows directory, but my application won't run after it is installed. The other odd thing was that it added mscorlib.dll and System.dll for both version 1.0.5000.0 and 2.0.0.0. I tried to run the app with both versions and just the 2.0.0.0 version of the files. It runs fine from the debugger, but then I see that Microsoft .NET CF 2.0, Miscrosoft .NET Compact Framework, Microsoft .NET CF 1.0 ENU-String, Microsoft .NET CF 2.0 ENU-String and Microsoft ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Free-moving camera?

    How exactly would I go about implementing a free-moving camera I looked at the How To: Rotate and Move a Camera in the docs, but it doesn't seem to build for a 360 project. Any help or a point in the right direction Yeah, I noticed. I did get the older one working, except for some odd rotations with the right thumbstick. Hopefully that's fixed by the new FlyingCamera, but if not I'll iron it out. EDIT: Weird rotations still existed, but that was easily fixed by changing             if (turn != 0.0f)             {               & ...Show All

  • Windows Forms Smoother Refresh

    Is there a way to force a refresh without making a control's background turn white Hi You can think of using worker process or threads or make asynchronous calls on the methods which refresh the data. Check this below link, it may help you in getting some idea about the same. http://support.microsoft.com/default.aspx/kb/318604 ...Show All

  • .NET Development Marshaling unmanaged C 2D array

    How to access this: __declspec(dllexport) void __stdcall TestArray(int nI, int nJ, double** arr1, double** arr2) { int x1; int x2; for(x1 = 0; x1 < nI; x1++) { for(x2 = 0; x2 < nJ; x2++) { arr1[x1][x2] = 5; arr2[x1][x2] = arr1[x1][x2]; } } return; from c# i tried with: using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace Runner { class Program { [DllImport("../../../debug/testArraysUnmanaged.dll")] public static extern void TestArray(int i, int j, double[,] arr1, double[,] arr2); static void Main(string[] args) { int nI = 100; int nJ = 50; double[,] array1 = new double[nI, nJ]; double[,] ...Show All

  • Visual Studio Tools for Office VSTO Newbie - Connect to SQL Server Help Needed

    Hello all. I'm looking for some assistence on my current task. I come from an ASP Classic background and have been tasked at working on my companies Notes to Outlook migration. Included in this is much custom Outlook programming. As you could imagine, coming from an ASP Classic background, and now working directly in .NET development is quite a shift.....so please be patient with anything I'm missing as I'm learning along the way....:) My current task is to use VS & VSTO to connect a simple Outlook Addin to a SQL Server Database and execute a Stored Procedure using Visual Basic .NET. Even though I come from an ASP classic background, I can still do my research and find sample code and alter it for my use. But for the lif ...Show All

  • Visual C# Make stand alone exe

    I posted this in one of the visual studio 2005 forums and someone suggested I try posting it here. In Visual Studio 2005 is there any way to actually make just a standalone exe file, like in visual studio 6.0 where you just go to Build or Make EXE or something similar All I can find is the publishing section which creates a setup.exe which then "installs" the program and checks for updates etc. I just want to make one exe file that can be run from any PC anywhere that you just double click and away it goes, straight into your program, in visual studio 6.0 this was no problem at all yet I have spent hours searching and am still unable to do this in VS 2005. Thanks Andrej Tozon wrote: Hi Chris, application's ...Show All

  • Windows Forms AutoScroll for Panel control and refreshing while scrolling

    Hi, I'm writing a small app using VS2005 in C#. I put Panel control onto my form and, as child control, another panel inside it. I'd like to see as the content of 'container' panel changes its position during scrolling, but when I set AutoScroll property to 'true' the effect is only seen when I stop scrolling the content (it depends on 'show window contents while scrolling' settings of operating system, on my computer it's set to false). So, to do that, I consumed Scroll event from the container and set location of the child panel using ScrollEventArgs values. Everything works fine until I stop scrolling. After that, scrollbars of the container change their sizes and 'everything breaks', colloquially speaking. I've tried to do something wi ...Show All

  • Windows Forms programmatically associating file extension to an application in c# .net

    Hello everybody can anybody help me how to programmatically associate file extension to an application in c# .net i.e at the time of installation. thanks in advance, Ramana kumar. See Command-Line arugments of Main funtions of your application, You'll be getting some file name there that who invoked this command, When you have the file name from there you can open it yourself. Best Regards, ...Show All

  • SQL Server Issues with Microsoft SQL Serever 2005 Express Edition and other versions of SQL Express

    I have uninstalled the SQL Server Express Edition that I have installed from the CDs that were given to me during a Chicago Conference when READY TO   LAUNCH Visual Studio 2005, SQL SERVER 2005, and Biz Talk 2005 . Then I went to microsoft website: http://msdn.microsoft.com/vstudio/express/sql/register/default.aspx and downloaded and installed the so called Microsoft SQL Server 2005 Express Edition and I got the messages Error that you read below. Then I Uninstalled Microsoft SQL Server 2005 Express Edition   and went again to msdn website and downloaded Microsoft SQL Server 2005 Express Edition Advanced Services SP1 and installed it. I got again the same message as below.   MESSAGE:   1. ...Show All

  • SharePoint Products and Technologies MOSS 2007 Forms Auth with 12k users

    I've created a web application that uses forms authentication. My forms authentication uses a custom membership and role provider to retrieve user information from an existing sql server database. The forms authentication works fine, and I'm able to login to the application as any user that is in our database. However, whenever they enter into the site collection they get an "Access Denied" error. Now, if I login into the site as an administrator and go to the Site Actions>Site Settings>People and groups I can add any user I want to this list and they are able to login to the site successful. This is great. However, we have a database that has over 12,000 users and this number goes up and down on a daily basis (due to people being re ...Show All

  • Visual Studio Express Editions fatal error RC1015: cannot open include file 'winres.h'

    I've read several forum posts that are similar to this question, without help. I'm using VC++ Express My winres.h is located in: C:\Program Files\Microsoft Platform SDK\include\mfc I tried adding the above to my dependencies and also tried this: C:\Program Files\Microsoft Platform SDK\include\mfc\winres.h I have tried adding these Lines to Project->properties->Linker->General Project->properties->Linker->input Project->properties->C/C++->General I tried different combinations of the above, just one or all etc. I even copied winres.h to my solution and put it directly in my include folder. It still can't open the darn file. Any idea why, it can't open this file Second but relat ...Show All

  • SQL Server Select Case question

    Hi, I have the following statement. SELECT Campaign_Code, Campaign_Type, (CASE Campaign_Type WHEN 'TM' THEN COUNT(DISTINCT BAN) END) AS SUM_BAN, FROM Report_test GROUP BY Campaign_Code, Campaign_Type For this line --> (CASE Campaign_Type WHEN 'TM' THEN COUNT(DISTINCT BAN) END) AS SUM_BAN Is it possible to have it so that instead of making multiple cases, would I be able to condense to make a statement something like this (CASE Campaign_Type WHEN 'TM' or 'VM' or 'DT' THEN COUNT(DISTINCT BAN) END) AS SUM_BAN Thanks Hi you could try the following: SELECT Campaign_Code , Campaign_Type , ( CASE WHEN Campaign_Type in ( 'TM' , 'VM' , 'DT' ) THEN COUNT ( DISTINCT BAN ) ...Show All

  • Smart Device Development how to report a bug in .NET (WM5) to MS?

    thanx, alex You could use product feedback: http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 Please make sure to include complete and compliable repro code along with description of expected and actual result as well as all relevant software (e.g. NETCF and OS versions) and hardware (e.g. device make/model) information. Thanks. ...Show All

©2008 Software Development Network