bigmac7669's Q&A profile
Windows Live Developer Forums General Activity API development questions
Hi, I have some general activity API development questions. 1. Can I have multiple web pages in an activity For instance, the default page would be index.aspx. On index.aspx wouuld be a link to load another page - page2.aspx. 2. What are the "web site" type limitions for an activity Can I essentially run an ASP.NET 2.0 app with database connectivity and Ajax as an activity. In this example, I'm not using any of the MSN messenger features like sending/receiving data, basically I'm treating the activity like it's an IE browser... nothing more. 3. Can an activity be both single-user and multiuser So a User can use an activity on their own and then decide to chat with someone on MSN messenger and invite them to use the ac ...Show All
Visual Studio 2008 (Pre-release) Canvas and ScrollViewer resize problems
hello ive got a canvas that is used to display polylines, and this canvas has a scaletransform that is linked to a slider, consequently the size of the canvas can increase. however when i wrap the canvas around a scrollviewer, even when the size is increased the scrollviewer cannot/wont scroll. ive did a little reading around and know that i could give the scrollviewer a size (smaller than the canvas) and then the canvas could be scrolled. however when i do this, and i scale the canvas up, the scrollviewer still does not recognise this. i found some articles on the web talking about how the scrollviewer does not know the size has changed (is that correct) is there any way i can get around this any easy 'workarounds' or features of the new ...Show All
Windows Search Technologies You may not have the appropiate permissions to access the item???? IM the administrator!
Hi, i keep getting this error which is pretty annoying. and i get it all the time when i double click some application/program im trying to open. So in other words, there are many programs i CAN'T open because of that error. I am the Administrator of this SINGLE PC, and i have even made new ADMIN accounts to see if that solves it, but i still get the error. I also got rid of al my AV and I still get the error. Can anyone please help me. I feel your pain! I have encountered the same problem installing on a Windows 2003 SP1 Server. The package I'm installing is the UNC protocol. I'm not sure if you stated what you were trying to install when you got the error, but I'm curious to see if it is the same. Have you resolved the issue ...Show All
Visual Studio Team System command line "get"
freeUsing the command line "get" gets me nothing. I keep getting a return string "All files are up to date" but nothing gets copied to the local directory. This applies to latest version or any specified versions. Have I done something wrong in my get command See example below: D:\TFSRTM\TPOnline\VBProjects>tf dir /login:mchan,mchan $/Adventureworks/TPOnline/VBProjects: sunshine.frm sunshine.vbp sunshine.vbw testRename.txt 4 item(s) D:\TFSRTM\TPOnline\VBProjects>tf get VPProjects /recursive /login:mchan,mchan /all /noprompt All files are up to date. D:\TFSRTM\TPOnline\VBProjects>dir Volume in drive D is Data Volume Serial Number is 2C98-7373 Directory of D:\TFSRTM\TPOnline\VBProjects 07/12/ ...Show All
.NET Development How to set data in cells of a hidden column in a databound datagridview control?
I am using a datagridview control, bound to a child class of a purchase order object to enter/display line detail of a purchase order. Some of the data, product ID for example, is set by program code and not the user, and so I have hidden the column. My problem is that I don't know if it is possible to set data in a cell when it is hidden. (It is the things that the help files and clients DON'T tell you that are killers, but I digress). I tried Identifying the column name but it gave me an error saying it could not find it. Has anyone out there done anything like this I am programming in VB.net 2005. I have to do it in the application, when the user does a lookup on a product code that he want ...Show All
Visual C# wmi in c#
Hi, I want to use wmi in c# . In vb script we can call methods directly. But in c# we use invokemethod call. How can i find or create reference for methods and parameters for wmi classes Thanks ManagementClass m = this .Manage( "MicrosoftDNS_Zone" ); ManagementBaseObject ret = null ; ManagementBaseObject o = man.GetMethodParameters( "CreateZone" ); // o[ "ZoneName" ] = domainName;// o[ "ZoneType" ] = 0;// m.InvokeMethod( "CreateZone" , o, null ); This is a major difference among VB script and C# in Com Interoperability that relates to the general issue of Com Interoperability in .NET. VB script automagically sho ...Show All
Architecture Hosting Long Running Batch Processes In IIS 6
I am currently architecting a framework that will depend on IIS to host batch oriented code. The design will use a disconnected model with a controller (that lives remotely) and checks back periodically via an ASMX layer. When invoking the actual batch execution code the ASMX call will spawn as many threads as it is configured to run and immediately respond (hence avoiding any long running HTTP connection). I like the idea for a number of reasons, obviously I get to use a standard communication protocol to invoke the batch code across tiers and I can even incorporate standard load balancing routines. I'm also able to use the same communication end points to check back in on the threads as they are executing. There are also a number of o ...Show All
Visual Studio Team System Excel Plugin - Might be in wrong discussion group
I am relatively new to TFS and would like to start using work items. The problem I have is my QA folks are on a different team and need to use the Excel functinoality as they don't have Visual Studio on their machines. I have been searching for a plugin that would install the "Team" toolbar in excel on their machine. 1) is this ok to do (licensing) 2) where can I d/l the addon Hello Jake, If you install the Team Foundation Client (TFC) on a machine which has Excel, the Excel Addin will be installed along with TFC installation (There is no separate setup to install just the excel add-in) The licensing works similar to the way it works in VS. If the user can connect to TFS from VS he/she can connect from excel also. ...Show All
Visual C++ help with dynamically allocating an array?
hello, ok this code works fine but it still dosnt compute the avearage with the lowest score dropped. here is my code. [code]#include <iostream> #include <iomanip> using namespace std; void sortArray( double arr[], int sz, int scoresPos[], int size ); void displayArray( double arr[], int sz, int scoresPos[], int size ); int main() { double *scores, total = 0; // average; int count; int numAmount; cout << "How many test scores are you going to record "; cin >> numAmount; scores = new double[numAmount]; int *scorePos = new int[numAmount]; cout << "Please enter in your test scores below.\n"; for ( count = 0; count < numAmount; count++ ) { cout <& ...Show All
.NET Development UpdateBatchSize Fires Individual Statements (posted in asp.net sql data access forum)
http://forums.asp.net/thread/1329679.aspx In Pablo Castro webcast, First Look at ADO.NET 2.0, he mentions the use of UpdateBatchSize which I think would be handy. However, I was not able to get it to work. help me how to use asp.net with file, i got the error message Warning : fopen(access.txt) [ function.fopen ]: failed to open stream: Permission denied in d:\Inetpub\wwwroot\Project\Baju\counter\counter.php on line 6 Warning : fgets(): supplied argument is not a valid stream resource in d:\Inetpub\wwwroot\Project\Baju\counter\counter.php on line 7 Warning : rewind(): supplied argument is not a valid stream resource in d:\Inetpub\wwwroot\Project\Baju\counter\counter.php on line 9 Warning : fputs(): supplied argument is not ...Show All
Visual Studio Express Editions Why doesnt this work ?
Im trying to make a delay for 2 seconds... This is what im trying to do: 1. Button click 2. event happens 3. wait 2 seconds 4. event happens 5. and so on. But i cant get the timer to work. Im pasting the code part that i cant get to work. all help is greatly appreciated. Thx Imports System Imports System.Timers Public Class Form1 Public Sub timer() Dim aTimer As New System.Timers.Timer() ' Hook up the Elapsed event for the timer. AddHandler aTimer.Elapsed, AddressOf OnTimedEvent ' Set the Interval to 2 seconds (2000 milliseconds). aTimer.Interval = 2000 aTimer.Enabled = True End Sub Public Sub ...Show All
Software Development for Windows Vista Where is the >detailed< Vista Software Logo Spec documentation?!
I've been looking for months to find more information about the Windows Vista Software Logo program, and have basically come up with nothing... Is anyone else having this issue There seems to be only one document available called: "Windows Vista Software Logo Spec 1.0.doc". However, this document can barely be called an outline of what really should be available. If you look at the DFW XP and DFW XP x64 counterpart program on the http://www.microsoft.com/winlogo site, you will find an overwhelming amount of information including test framework docs and in-depth technical requirements docs for engineers, totaling well over 400 pages of highly detailed information. But for Vista we only get 24 pages ! So much has changed between X ...Show All
SQL Server more tables do search,please help me,sql server stored procedure problem
i have more tables exmaple: table1(id,title,content,date) table2(did,type,title,text1,text2,requestdate) table3(subid,value1,value2,value3,value4) .......................15 tables left,some exmaple now i want use stored procedure do search for asp.net asp.net send search keyword to sql server,sql server get keywords execute search and return results to web application(asp.net) i don't konw how what write t-sql,please friends help me. because table colums is different,so need write t-sql put the temp DATA TO Temp DataTable,last return Temp DataTable to asp.net,asp.net execute split pager display data,eventable colums is different,so on asp.net links is different,need t-sql programming,hope friends can help me comp ...Show All
Software Development for Windows Vista Proper use of IAMStreamConfig to Change Resolution
I'm working on modifying Marcus Perryman's TimedCameraCapture system for Windows Mobile: http://blogs.msdn.com/marcpe/archive/2006/05/23/604771.aspx. I need to be able to change the resolution of something being captured. All my research has told me that I need to use IAMStreamConfig to essentially enumerate the supported resolutions and then use SetFormat on them. However I have not been able to get this to work at all. After adding a Still Image Filter I then try and change the resolution and then call RenderStream. Here's what I'm trying: IAMStreamConfig *pConfig; CHK( m_pCaptureGraphBuilder->FindInterface(&PIN_CATEGORY_CAPTURE,&MEDIATYPE_Video,m_pVideoCaptureFilter, IID_IAMStreamConfig, (void**)&pConfig)); int iCou ...Show All
SQL Server Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
I am receiving the following message when connecting via query analzyer to SQL server using windows authentication.(error 18452). I have a login created with the sys admin server role on the server. When I connect using SQL authentication it works. I added myself to the local admin group on the server, this allows it to work. The same situation is seen with another user. I am using windows 2000 sp4 server and SQL 2000 SP3, connecting from NT4. I get the same issue if I use TCP or named pipes. We have been using SQL security but are moving to windows authentication - but this issue is stopping us. I have checked and upgraded my version of MDAC to match the server version 2.7 (sp1) Any help would be much appreciated. Thanks ...Show All
