Murugan N's Q&A profile
SharePoint Products and Technologies Excel Services Secuirty Issue
Hi all, I can view the content rendered by Excel Services with "Full Control" permission. But, a user group other than Full Control permission such as Read and Approve cannot be viewed the content and display the following error: ----------------------- File Not Found The file that you selected could not be found. Check the spelling of the file name and verify that the location is correct. Make sure that the file has not been renamed, moved, or deleted. ----------------------- Any ideas Paul Hi Paul, Let me try to understand your scenario.... you have a workbook in a SharePoint Document library, and you are attempting to load it in the Excel Web Access web part correct The workbook loads fi ...Show All
.NET Development Save and retrieve RTF Text from MSSQL DB
Hi, i have a richtextbox control in my application, and want to know how to save this formatted text in a MS SQL DB, i tried to save in the database in a column Text type by addint the RTF property of the control. But i can't get it with RTF format from the database when i want to display it to richtextbox control again. Please, tell me how to retrieve RTF fromdb and display it correctly, if there is sample, it will be very great Regards, Ahmed H. Waly As long as you are storing it as RTF (in a text field) you should be able to retrieve it from the TEXT field as rtf....snippets of code from working application: Where r is my datarow and "code" is the column name of the rtf field Retrieve data: ...Show All
Visual C# Intellisense for events...
Hi! I have a component that provides some events (via the Properties Window in VS2005) So, when when selecting some event I can show some breef text telling the user something about the event in the bottom of the Properties Window (via Attributes). But, I want to provide some help of the parameters in the generted event stub; private void myComponent_OnConnected(string ipAddress) { } How to provide some info/help about my parameter ipAddress I would like some text to show up when holding the mouse over the method name... Thanks, Mats Sorry, i have forgot something very important!!!! the method must be public (it will be call externaly!) and you have to comment it like this: /// <summary> /// ToDo: Informa ...Show All
Windows Forms Example
Can someone giv me example of 1. Declear a event in a class A 2. Raise Event in Class A 3. Handle the event in Class B Thank you ...Show All
Windows Forms User input validation
hi all, i am writing a login screen. it has a username and password textbox. i want to validate the user input to allow a-z; 0-9 and - _ but nothing else...is there any way of checking for these characters only thanks, Hi, you were really close - the better pattern would be "^[a-zA-Z0-9\-_]+$". (note the escaped minus sign (\-) and the plus sign at the end). You can also replace plus sign with asterisk (*), if data entry is optional. Andrej ...Show All
Software Development for Windows Vista Black Screen / Freeze after first reboot
I have spent many hours the past week trying (unsucessfully) to install Windows Vista. I have downloaded and installed all the most recent drivers and BIOS updates for all of my hardware. I have run the Vista Upgrade Advisor and it says that my system should be good to go and that there are no serious issues. The only item on the "Task List" is to download Vista drivers for a wireless networking adapter I have in the system to be installed after. I have tried to do an upgrade from Windows XP and a Full Install of Vista with the same results. I start the install and everything goes smoothly (installer unpacking files and getting ready for installation) until right after the first reboot. The system restarts and tries to boot in ...Show All
SQL Server SQL 2005 failed - cannnot install files to the compressed or encrypted..
Hi, I am trying to lean ASP.NET. So I was trying to install SQL Server too. But, I could not install. The aleart box popped up: "SQL Server set up cannot install files to the compressed or encrypted folder: C:\Program Files\Microsoft SQL Server" Before this, I also got a warning that the hardware of my computer does not meet the hardware requirement. I would like to know how I can install SQL Server into my computer. Or, shouldn't I do that To learn ASP.NET I want to have a database ready. If I can not use SQL Server, I may try Access or something smaller... Thanks in advance. yyokota2 Is your "c:\program files" directory compressed or encrypted If so, then it's expected you would see this er ...Show All
Visual Studio Tools for Office VSTO deployment and existing excel addins
Hi, I have a VSTO C# assembly and is supposed to be loaded in Excel 2003. When I open the excel file, it gives me "The customization assembly could not be found or could not be loaded" error. When I uncheck the excel addins (esp. Analysis ToolPak) and then open the excel file it works fine. After the file is loaded, I check the addins, everything works fine. To summarize: Scenario A 1) Check excel addins (Tools --> Addins) 2) Open excel file with VSTO customization DOES NOT WORK. Scenario B 1) UnCheck excel addins (Tools --> Addins) 2) Open excel file with VSTO customization 3) Check excel addins WORKS. I am trying to figure out the reasons. Please help. Thanks in advance Swapnil ...Show All
Visual Studio Express Editions How to count the number of CheckBoxes Checked
Is there a way to count the number checkboxes that have been checked on a form and when a certain number as been reached disable any remaining checkboxes Regards LVB Yes man you can count no. of checked checkboxes... Here is the code to do it..... CODE: Dim i,count As Integer For i = 0 To Form1.Controls.Count - 1 If TypeOf Form1.control Is System.Web.UI.WebControls.Checkbox Then count++ if(count>defined_limit) ExitSub End If End If Next i With this code you can find Number of Checkboxes on your Form. ...Show All
Visual Basic IP Camera HowTo?
Hello everyone, I've just installed an IP Camera in our network and started to fool around with it. The software supplied by the camera itself is written in Delphi and pretty much doesn't do much. I was wondering if there was a way to connect to this Camera from the network with VB I googled around and didn't find much on connecting to this camera (or any ipcamera that I could understand). All I know is that the camera runs a sort of webserver on port 8888 that when I connect to asks for a username and password, afterwards it forwards me to a page where I can watch a stream of jpeg images (mjpeg) I think. If anyone can help me or point me in the right direction on how I can connect to this device (or similar device) and show the i ...Show All
Visual Studio Is there a way for an msbuild task locate an assembly using a Registry entry
If I already know the Registry entry which contains the path to an assembly, can I use this registry item to locate the assembly the assembly is located at C:\export\bin\Debug\Tools\Configuration.BuildTask.dll I have a registry entry something like this: [HKEY_LOCAL_MACHINE\SOFTWARE\Configuration\Common\Paths] "BuildTask"="C:\export\bin\Debug\Tools\Configuration.BuildTask.dll" How can I access this from the project files build task Is there some way in the project file to extract the data from the registry entry first <UsingTask TaskName="Configuration.BuildTask" AssemblyName="Configuration.BuildTask" /> I do not want to create another Task to do this for me as the reason for this is because ...Show All
Visual Studio Express Editions type bool
Hi, Could someone please tell me why the compiler won't accept the type bool I'm not using the SDK. Is there a header file I need to include (Visual Studio C++ Express). Thanks. WENZU5 wrote: Could someone please tell me why the compiler won't accept the type bool I'm not using the SDK. Is there a header file I need to include (Visual Studio C++ Express). To add a couple of thoughts to what nobugz and Martin have already provided: 1. bool is not a standard type in C , only in C++, and that might be your problem, as nobugz mentions. 2. If you ever build native Win32 WinApps , using the Platform SDK, then you may need to be using BOOL (capital ...Show All
Visual Studio Team System TF30169: The New Team Project Wizard was unable to download the process template (NEW PROJECT)
Hi, I have been working on Process Templates for a while and uploading new versions have working very well. A few weeks ago I installed BETA on SP to test Custom Controls within the process template forms. The TFS BETA was installed on a test server with it's own TFS installation, and not on my developer PC. - Visual Studio 2005 Service Pac 1 Beta - Visual Studio 2005 TFS Service Pack 1 Beta But when I discovered I couldn't upload process template for regular TFS servers (without SP1 Beta), I removed VS 2005 completely (I think) with SPs and Team Explorer from 'Add and Remove programs", and reinstalled the full package. I'm able to upload the new process templates successfully, but Im getting an exception when tring to cre ...Show All
.NET Development Microsoft .NET Framework 3.0: x86 (KB928416) will not install.
The following updates are already downloaded on my computer: --------------------------------------------------------------------------------------- Definition Update for Windows Defender - KB915597 (Definition 1.15.2321.2) Root Certificates Update Microsoft .NET Framework 3.0: x86 (KB928416) --------------------------------------------------------------------------------------- But they won't install. Everytime I try to install them my computer shuts down. And at night when I want to shut down my computer, it says on the screen that updates are going to be installed. I shut down the computer but it restarts, and the updates still aren't installed. I have -Windows XP -Service Pack 2 -Home Edition -Version 2002 ...Show All
Visual Basic Problem Converting VB6 to .NET
Hi, i used the Visual Studio Upgrade Wizard to convert my existing VB6 code to .NET but still lots of "upgrade warning" appeared after the convertion. especially during the convertiong of Array to Object . These are part of my codes, may i know how should i modify it I haven't tested this, but try this: Public Function StrSplit( ByVal Text As String , _ ByVal SplitOn As String , _ Optional ByVal Compare As Microsoft.VisualBasic.CompareMethod = CompareMethod.Binary) As Object Dim List As Object , Pos As Long , SplitOnLength As Long Dim Count As Integer List = New Object () {} SplitOnLength = Len(SplitOn) Do Pos = InStr(1, Text, SplitO ...Show All
