Jassim Rahma's Q&A profile
Visual Studio Security Exception in local processing mode when deployed ..
Hi. My report is working perfectly ok on local machine in local processing mode. but when i deployed the website on the remote web server i get a security exception error. What do i need to do and what previliges do i ned on the webserver to get my report rendered and work propertly Thanks. Server Error in '/' Application. ...Show All
Audio and Video Development Does anybody know how to create wipe effect?
Does anybody know how to create wipe effect I have a menu page with button animation and would like to create an effect to unmask the buttons from left to right when coming into the menu. I have tried animating width of the button_div, but not working. The buttons shows up as soon as the page get loaded. Thank you. It works now. But the width doesn't hold. My xml: when EFFECT button is on focused <cue select="id('Menu')" dur="2s" fill="hold"> <animate style:width="1px;1920px" /> </cue> Note: Menu is menu button div that has initial width=1px ...Show All
Visual Studio Have a problem in opening an aspx file in the IDE?
Hi, I have installed Vs.Net 2005 and it was working fine till few days back. Now when i open any of the aspx files of any existing projects(projects migrated from VS.NET 2003 to VS.NET 2005) they do not open and the cpu usage boosts up. (The .ascx pages open up.) But when i create a new application and open up the aspx page it opens. Tried all possible way. Could someone help me fix this issue without reinstallation of VS.NET Thanks in advance. Regards -Rajesh ...Show All
Smart Device Development Drawing smooth circle
Hi, I am using Compact Framework 2.0. I need to draw a red circle that looks smooth (no jagged pixel). Before, we use image to represent it. When I tried to override the Paint event of my form and draw the circle, it doesn't look smooth. Can anyone please point me out on the right-way of doing it I think it involves anti-aliasing etc, but, I'm not sure if it is available in CF. My code : private void iMainForm_Paint( object sender, PaintEventArgs e) { using ( Graphics graph = e.Graphics) { Pen pen = new Pen ( Color .Red, 9); graph.DrawEllipse(pen, new Rectangle (3, 12, 205, 205)); } } Thank you in advance for the replies. ...Show All
Visual Studio Express Editions MessageBox Issue
Hey, Still pluggin away here and learnin.....New question/error. When I attempt to use MessageBox.Show I get the following error: Error 1 'Show' is not a member of 'MessageBox'. I understand that it should work like: Result = MessageBox.Show(Message, Caption, Buttons) But it is not....Is this an Issue in VB Express How do I solve this Thanks in advance LDavis501 Tall Dude....Thanks for the response. I am a bit perturbed by the Option Strict ON. I understand its function and what it does and why, but what I do not get is in the following code I get an Option Strict Error: Code: Public Class Form1 Private Sub btnClose_Click( ByVal sender As System.O ...Show All
Visual C++ Managed array of pointers to elements in another managed array
Hello, I have some problems using arrays (system.array) in managed code. I have a two-dimensional array available and I would like to sort the values in this array by making a second, jagged array of pointers to the elements in the first array. However, there are some problems: the first array is of course declared on the managed heap. Pointers to elements in that array can change as the CLR rearranges the heap. The solution to this is could be an interior_ptr (which makes sure the pointer is updated when the heap is rearranged) or a pin_ptr (which makes sure the 'pointed' part of the heap isn't rearranged). The problem is that both pointers are only declared on the local stack: it is not allowed to form an array of pin_ptr or inter ...Show All
SQL Server Timeout and Audit Logout and sp_reset_connection?
Hello, We've been getting some intermittent timeouts from our live website (the timeouts normally, but not always, occur when getting the user details - but that could be just because that task is happening the most often). However the strange thing is that this happens intermittently - but often enough to be annoying! I started a trace to see what was happening. I thought maybe it was a transaction/ or some sort of blocking SQL statement - however I'm not seeing anything that clearly indicates this.(I suppose the timeouts would only occur when another SQL was blocking the same db object, right And I don't think the updating of the user details are performed regularly.) However I did find some oddities that could maybe help: When we receiv ...Show All
Windows Forms Insert a Resourse to textbox?
Hey, how do you insert a resourse(image in resourses) to a rich textbox I tryed doing this: thisrichtextbox.TextBox.SelectedText = Notebook_Pro.Properties. Resources .theimage; but I got an error about it not being able to convert bitmap to string...so I tryed the code I had gotten from a question I asked when I was progames25 about inserting a image form a file into the textbox...: string strImagePath = openFileDialog1.FileName; Image img = Image .FromFile(strImagePath); Clipboard .SetDataObject(img); DataFormats . Format df = DataFormats .GetFormat( DataFormats .Bitmap); //Check this line, im not sure if (thisrichtextbox.TextBox.CanPaste(df)) { thisrichtextbox.TextBox.Paste(df); } and ...Show All
Visual Studio Problem with SGen task
Hello, We need to generate XmlSerializers for some of our assemblies, and they are not generated no matter what we choose in project option. I discovered that this is due to a command line "/proxytypes" that is passed to SGEN.EXE by SGen task. Microsoft.Common.targets has the following section: < SGen BuildAssemblyName = " $(TargetFileName) " BuildAssemblyPath = " $(IntermediateOutputPath) " References = " @(ReferencePath) " ShouldGenerateSerializer = " true " UseProxyTypes = " true " KeyContainer = " $(KeyContainerName) " KeyFile = " $(KeyOriginatorFile) " DelaySign = " $(DelaySign) " ToolPath = " $(SGenToolPath) &q ...Show All
SQL Server SSIS From SQL2K5 to MySQL
Hi, We recently migrated from a SQL 2K to 2K5. We had an automatic DTS scheduled every night that would transfer data to a MySQL server on one of our client’s machine. It worked like a charm in SQL 2K. I am trying to figure out how I can connect to a MySQL data source using SSIS in 2K5 as I don’t see an ODBC Destination anywhere in the Data Flow Task; and run the same transfer using 2K5. Do I have to add a reference of some kind or does 2K5 doesn’t support ODBC destinations Thanks This thread should explain all: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=106559&SiteID=1 In a nutshell, there is no prebuilt ODBC SSIS destination component... ...Show All
Visual Studio Team System About code annotation?
#include <CodeAnalysis\SourceAnnotations.h> #include <iostream> using namespace std; using namespace vc_attributes; void f ([Pre(Access=Read)] int x) { x=10; cout<<x<<endl; } int main() { int a; a=5; f(a); return 0; } This is a example from msdn~ [Pre(Access=Read)] means that x can only read. x can't be write~~ But after I compile,I print x . x is 10; This mean x was written. why There is msdn's helper about this example http://msdn2.microsoft.com/en-us/library/ms182038(d=ide).aspx There is msdn's helper about code annotation http://msdn2.microsoft.com/en-us/library/ms182032(v ...Show All
Software Development for Windows Vista Drag urls on ie does not work
hi all, In order to get the urls which users drag from IE, I once writed a class that inherit from the IDropTarget interface, and realized functions (DragEnter, DragOver, Drop...). It works well in xp OS, but can not work in vista. I finded out that when i invoked IDataObject::QueryGetData or IDataObject::GetData functions they only return E_FAIL, and GetLastError = 87( invalid parameter). I don't know why this would happened and can not resolve the problem :( thanks a lot . ...Show All
Visual Studio Team System VC6 w/ MSSCCI doesn't like certain workspace mapping
I've run into a problem with VC6 (SP5) running with the 12/06 version of MSSCCI. When a workspace is defined to map a directory which is a parent directory to one or more solution (dsw) directories, "Open Workspace" from Source Control doesn't work anymore. Here's the scenario: I create a project directory in Version Control named $\Project1\Level1, with a mapping in the workspace to C:\Level1 Created a new VC++ project at C:\Level1\Test\, so that the dsp and dsw files are in that directory. I then add the project/VC-workspace (including both dsw/dsp) to source code control; all files show up correctly in the Source Control Explorer. When I then try to open that same project (dsw) directly from TFS using the "Source Co ...Show All
Software Development for Windows Vista ManualWorkflowSchedulerService, Event and HttpContext in ASP .Net
hi, I'm trying to write a Pageflow in ASP .net with a workflow but I've got some issues using the ManualWorkflowSchedulerService. Here is how my program work: -I launch a workflow with a HandleExternalEventActivity -When i click on a button in an ASP .Net page, it sends a ChangePageRequest (my event) - the event is received by the workflow and then a CallExternalMethod sends the url of the next page to the web site. the problem is that when i don't use the ManualWorkflowSchedulerService, when i try to use HttpContext.Current.Response.redirect(url), Current is null. According to this thread: (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=346551&SiteID=1), i must add the ManualWorkflowSchedulerService 1) What i have understood is ...Show All
SQL Server rsAccessDeniedToSecureData
I've installed a fresh load of SQL Server 2005 onto a Windows 2000 server, including all the trimmings with SS2005. Reporting Services 2005 is the main thing I want to initially check out, but I can't get it to work. In the 'Reporting Services Configuration' it shows the 'Web Service Identity' as a blank grey box which can not be edited. I can't help but think this might be where the issue is. I looked at this thread, as it describes the exact same problem, but the solution did not work for me. The RS service will start up, but then when I navigate to http://localhost/reportserver or http://localhost/reports it gives me the following error: Reporting Services Error Thanks for your reply. I have run SysInternals RegMon, but it showe ...Show All
