soma34's Q&A profile
Visual Studio Tools for Office Can not open Sample project
Hi, I am working on Visual Studio 2005 (8.0.50727.42). Also have VSTO2005 Second Edition and Office interop assemblies. I have download the 'outlook samples' from MSDN. And trying to open one sample, for example 'ShortcutBar.sln'. Am getting the following message. The message is very generic, not giving a hint what application is missing! --------------------- "One ore more projects in the solution could not be loaded for the following reason(s) The application for the project is not installed These projects will be labeled as unavailable in Solution Exporer. ....." ---------------------- Thank you. Sen. Zubair, This post didn't help. One thing I doubt is, I am using office 2003 SP2. These samp ...Show All
Visual Studio Second page always blank in report
Hello, I have a problem regarding a report created using data from SQL Server and called from a windows form. My report has always at least 10 pages and everytime I run it the second page does not show anything except some labels. Besides this, I have a group header, which counts something for every month. Every time the month changes, the number must be reset. This thing works a little bit, but once on 3 or 4 pages it counts 2 times the same number (ex: 1,2,3,3,4,5,etc...). I would appreciate any answer. Regards, ...Show All
SQL Server Dates in Reporting Services
hey all set up Visual Studio 2005 SQL Server Express / Reporting Services four fields State date Start time Finish Date Finish Time I need to take one away from the other - can someone please help me Is it better to keep these in separate fields or to combine and subtract Is there anything special I need to know with subtracting time I am reasonably newbie still so would appreciate any help thanks I am using the visual side in Reporting services - Data - Layout - Preview. thanks Jewel thanks so I have combined my fields as you said. When I do the subtraction - New fields - Text=ClosedDate Text=RecvdDate =(ClosedDate) - (RecvdDate) I get error Close ...Show All
Software Development for Windows Vista Error when opening xamlpad: Cannot locate resource 'xamlpadapp.baml'
HI, I installed .net framework 3 beta2 and windows sdk on a clean system , no previous beta installed. when I try to run the xamlpad, a fatal error happens, I tried to debug then I got the detail error: ================================ An unhandled exception of type 'System.IO.IOException' occurred in PresentationFramework.dll Additional information: Cannot locate resource 'xamlpadapp.baml'. I have no idea aboout this. is there anyone can help me The correct FileVersion for the xamlpad.exe which matches the June CTP bits of Microsoft.Net Framework v3.0 is 3.0.6507.0. When I installed the SDK here , i wound up with the corect version xamlpad. The error quoted above was: "Version mismatch. BAML stream has v ...Show All
SQL Server Count(*)?????
I am trying to find the significance of using the Count(*), does that mean it only pulls one value according to the query that the procedure calls or what i am a lil lost on this particular feature CREATE PROCEDURE dbo.Sales ( @UserName varchar(256) ) AS DECLARE @Exists int SELECT @Exists = COUNT(*) FROM SalesPerson WHERE UserName=@UserName IF (@Exists <> 0) BEGIN SELECT SalesPersonId FROM SalesPerson WHERE UserName=@UserName END ELSE BEGIN SELECT -1 END RETURN GO For this particular SP, you don't need to do any check. Simply do below: create procedure dbo.Sales ( @UserName varchar(256) ) as select coalesce( (select SalesPersonId from SalesPerson where UserName = @U ...Show All
SharePoint Products and Technologies SPContext.Current.Site - Operation is not valid due to the current state of the object
Hi, WSS 3.0, VS.NET 2005 Sp1, and MSDN walkthru: How to: Create a Web Application in a SharePoint Web Site located at: http://msdn2.microsoft.com/en-us/library/ms368312.aspx The error generated says: "Operation is not valid due to the current state of the object". I am able to see the ASPX page at: http://server:43302/_layouts/SPUsersGroups/default.aspx Here's the entire code block. Any assistance would be appreciated. I just don't know what the error means or how to resolve it. protected void GetSitesAndGroups() { string bUrl; string userList = SPEncode .HtmlEncode(TextBox1.Text) + " is a user in the following webs:<BR>" ; SPSite mySite = SPContext .Current.Site; SP ...Show All
Visual FoxPro image from webcam
hello! i am new in vfp and i have vfp6.0 now i create database include ole object field i need to tab skip image field and create one cmd button call take picture and i connect my web cam so image come from webcame and store in pic foleder also delete button so cancel only image not record thanks Here you can find some good information about capturing images from your webcam: Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera http://www.news2news.com/vfp/ example=437 HTH Cesar ...Show All
SQL Server SSIS but want to remain on sqlserver 2000
Hi All, Pretty unorthodox query. We would like to use SSIS for doing the ETL but the source and target (staging & Reporting) area will remain to be SQL server 2000. Do you think its possible Please let us know if its possible. Thanks in advance. SSIS supports a variety of data sources, including SQL Server 2000. Besides other connector options to SQL Server, we recommend the built in components in SSIS, which are optimized for SQL Server. ...Show All
Visual C++ Problem using log4net in my C++ program
I have a C++ program converted from an ANSI C. Now it is created as a CLR console application. As an Art graduate, I am lost and do not know how to add the log4net statement into my Cpp program. Please help. I promise to grade your answer! Thanks This is the error message during compilation: Error 193 error C3699: '*' : cannot use this indirection on type 'log4net::ILog' e:\myApp.cpp 35 #include "stdafx.h" #include <stdio.h> #include <string.h> #include <time.h> #include <fcntl.h> #include <string> #include <iostream> #include <cstdio> #ifdef WIN32 #include <winsock.h> #include <io.h> #else #def ...Show All
Windows Forms Printing Large windows form in VB.net
I have a problem in printing large windows form. I have used following code to print the form. still it's printing like print screen, not complete form. Form is larger than the Screen and Scrollable. Private Const SRCCOPY As Integer = &HCC0020 ' create a printing component Private WithEvents pd As Printing.PrintDocument ' storage for form image Dim formImage As Bitmap ' create API prototype Private Declare Function BitBlt Lib "gdi32.dll" Alias _ "BitBlt" (ByVal hdcDest As IntPtr, _ ByVal nXDest As Integer, ByVal nYDest As _ Integer, ByVal nWidth As Integer, _ ByVal nHeight As Integer, ByVal _ hdcSrc As IntPtr, ByVal nXSrc As Integer, _ ByVal nYSrc As Integer, _ ByVal dwRop As ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Translation of 'Getting Started' sample into IronPython
Just a simple line-by-line translation. This runs out of the box, no special mojo needed. import clr clr.AddReference('Microsoft.Xna.Framework') clr.AddReference('Microsoft.Xna.Framework.Game') import Microsoft.Xna.Framework.Game from Microsoft.Xna.Framework import * from Microsoft.Xna.Framework.Components import * from Microsoft.Xna.Framework.Graphics import * class MyGame(Microsoft.Xna.Framework.Game): def __init__(self): self.InitializeComponent() def InitializeComponent(self): self.graphics = Microsoft.Xna.Framework.Components.GraphicsComponent() self.GameComponents.Add(self.graphics) def Update(self): self.UpdateComponents() def Draw(self): if not self.graphics.EnsureDevice(): return self.graphics ...Show All
SQL Server inquiry
I just have a basic inquiry about sql server mngt studio. I have create about 50 tables under the Master database. i no longer want them there and would like to place all 50 of my tables into another database. The only way I can seem to go about doing it, is to go into the code and change "Use [Master]" to "Use [Quickwire]", where quickwire is my new database name. however, since there are so many tables this is a very tedious process. Is there an easier way...like a copy and paste concept Please let me know if there is.. you can use the "select into" statement with the 3 part naming convention use master select * into quickwire.dbo.dummy from dummy ...Show All
Microsoft ISV Community Center Forums How to loop a macro every 20 minutes
Hello, I need assistance with some code that will run this macro every 20 minutes in an Excel workbook that is constantly open. I think it needs to loop somehow but it is beyond my programming skills. If anyone can point me to the right Method I would greatly appreciate it!! Michael The other option is to send the process to sleep for 20 minutes using the Windows API. http://mech.math.msu.su/~vfnik/WinApi/s/sleep.html Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long) Sleep 2000 ' 2000 milliseconds = 2 seconds to delay It might not be the solution your looking for it reallt depends on what you have in mind. ...Show All
Smart Device Development Including DOTNETCF v2 in Platform Builder 4.2 OS
I am trying to include the .NET Compact Framework 2 files in an Platform Builder 4.2 project. I have installed all the monthly Platform Builder updates including the July update that included .Net Compact Framework 2 SP1. .NET Compact Framework 2 shows up in my catalog and I have added it to my project and rebuilt my OS. The OS compiles correctly however none of the .NET Compact Framework 2 files are included in the OS. Any ideas I am trying to include the .NET Compact Framework 2 SP1 files in a Platform Builder 4.2 image I am building. I have installed all the monthly Platform Builder updates including the July update that included .Net Compact Framework 2 SP1. Inside Platform Builder .NET Compact Framew ...Show All
Visual Studio Express Editions Won't let me save
After solving my first problem with visual basic I hve ran into another. It wont let me save any project, if I try I get "An Error Occured Saving The Project File 'project4.vbproj'." Any more ideas I wrote a small piece of code and I'm trying to debug it. Whenever I press debug it prompts me to save the file but then gives me the error message. There isn't a way to debg without saving is there ...Show All
