Rabtok's Q&A profile
Software Development for Windows Vista Shared memory between NT Service and normal App?
Hi all, I need to get my XP software working with Vista. The software is in two parts, a NT Service and a normal app that controls it. Coms is via shared memory. What do i need to look at changing to get the shared memory interface between the two working under vista Thanks! You need the service to create the file mapping as with "Global\\" and the desktop app to OpenFileMapping the global object. ...Show All
.NET Development what is search engine in dotnet.
what is search engine in dotnet. ...Show All
SQL Server CLR Stored Procedure craps out - Msg 6532, Level 16, State 49
Hi All, I have read the various posts regarding the thread abort issue. I have a stored proc (CLR-C#) which makes and ldap call to a novell NDS tree and attempts to pull about 40k+ records which I would then insert into a sql server database. I have set up all the requrements in terms of clr enabled etc... I have written my class and I can run the sp when I limit the records returned. However when I go to grab all the records, (which takes some time), the sp craps out with the error message in the title of this post. The assembly is running under unsafe permissions. If I run the sp once, it works, then again and I may or may not get an 6522 (memory error). I added the search parameter to break down the records returned (so I return a's the ...Show All
Visual Basic Setup Wizard in VB 2005 Standard SP1
This one is aimed at Matthew Gertz in VB Development Team. Yes, I am aware that the Christmas Holidays are near but I hope your response will be quicker than last time. First two points and then my query 1. Despite ticking the Alert Me box, I am not getting Alerts when you post responses. 2. The first time, I opened VB2005 after installing SP1, I got the error message "Run Time Error/Program C:\Pro\R6025 - pure function call" and VB closed. The second time I got an Report Error toMicrosoft - which I did. Third time the programme loaded and ran OK. Curious QUERY I have read extensively in the help file about using the Setup Wizard but the reality does not match the reporting. Page bf5cf02e-b0b7-4a99-ba9c-bcf9d383b7d ...Show All
SQL Server Multiple Dynamic Insert Statements in one stored procedure?
Hello, I'm having a little trouble, and need a little direction. I have a stored procedure with a transaction that creates a contract for a customer in a Contract table. After the contract record is created, I need to create the contract items/products with their properties (price, notes, etc), which belong in a linked table, so that they're created all within the same transaction (the contract, and the products), so that if either the contract or any of the items cannot be inserted into their correct tables, it will rollback and undo the creation of the contract. Now, I understand transactions and how they work, but my trouble is that I'm not sure if I can use a dynamic insert statement to create the contract items/products, wit ...Show All
.NET Development Invoking A webservice dynamically without adding a webreference!
I have an issue with ‘Dynamic Webservice Invokation’. I have posted this on may sites including http://forums.asp.net/ & http://www.4guysfromrolla.com but it seems that no body is able to answer. So I m emailing you my issue mentioned below hoping to get some help from you. I have a webservice ‘A’ having a method ‘Update’ which accepts an array of complex type ‘ComplexType’. Now we need a way to call the service ‘A’ dynamically from another web service say ‘B’ by providing URL of service ‘A’, method name & the ‘Complex’ type (shared type) parameter. I tried to make this working using Reflection by creating a dynamic proxy using CodeDom in C#, but getting errors with message as: {"The ...Show All
Silverlight (formerly WPF/E) WPFE on windows 2000 Server.
I don't have a Windows 2000 workstation around, but I wanted to make sure that WPFE worked on Win2k before I decided to put development effort behind it. So I installed it on the office win2k server which runs all the test databases. My issue is that I've run the install on my win2k sever several times. Flash works, but WPF still won't work and it jsut reports when I got to a page that uses WPF/E that I must install it when I have already installed it. I downloaded the installer and found that it would produce an error if you didn't name the file install[1].msi. I set my security settings in IE6 to LOW just for testing. We don't use this computer to surf the web or anything. That still didn't fix the problem. From thewpfblog.com I ...Show All
SQL Server Discretization method question
Hi, I wonder what type of expression I could use in the Discretization method property of a dimension attribute to achieve a custom grouping. As an example, I have a margin % measure that I would also have available as a discretized dimension. I guess first step would be to create a calculated member where the parent hierarchy would be dimension, then use discretization to specify something like less than 0% between 0% and 15% greater than 15% and lower or equal 30% greater than 30% Any example out there Thanks, Philippe This article should explain it: http://msdn2.microsoft.com/en-us/library/ms174810.aspx Edward. -- This posting is provided "AS IS" with no warranties, ...Show All
Software Development for Windows Vista Custom sequence activity: Collapsed by default?
Hi, I've write a custom activty that inherits from SequenceActivity. This activity is composed of two sub activities: handlexternalevent and callexternalmethod I would like that my custom activity looks like a basic activity (collapsed) and I don't want that, when the user drops the custom activity on a workflows, he sees the two sub activity. Any idea must be easy but i didn't find the trick. thx! Antoine If you derive from ActivityDesigner (as suggested earlier) instead of Sequential Activity Designer, then you're composite will look like any of the built in activities. I.E., you won't have to collapse it. You can also then add an ActivityDesignerTheme to control background and foreground color to set y ...Show All
Visual C# hide or visible=false do not work
hi to all; i have created a C# applicaiton Windows Forms app and i dont want it to show the Form itself.. to do this. i used in Form Load method this.Visible=false; it didnt work i used this.Hide(); again it didnt work.. then i used these codes in Initialize component method but unfortunately again didnt work.. how will i prevent my form to be seen.. Isaac, Glad you found you're answer, but Soe Moe is right, you should really looking into creating a windows services for something like this. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D Mesh in screen space?
I would like to have a 3D mesh work similarly to a mouse cursor. To do this, I need to setup the world, view, and projection matricies so that it will undo the 3D transformation. I found some code from another post, but it is not functioning correctly. Here is the code: effect.World = Matrix .Identity; effect.View = new Matrix ( 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f); effect.Projection = Matrix .CreateOrthographicOffCenter( 0, 1280, -720, 0, 0, 1); My screen width is 1280, and width is 720. How would I go about doing a rotation on this model Also, how would I position the model on the screen using this method Any help would be appreciate ...Show All
Visual Basic HScroll
In switching from VB6 to VB2005, the Scroll bars have apparently changed. The Scroll part works, so I can change a program parameter based on the position of the cursor of the Scrollbar (or using Mouse clicks). I then want to apply the new value, but only at the end of the Scrolling. There is no "MouseUp" available for the HScroll. The "Mouse hover" does work, but it causes unwanted events. Is there a way (after dragging the cursor) to apply the final value - after releasing the cursor I can do it by pressing another button, but that is too late for some cases. Also, is there a way to change the backcolor and forecolor of Scollbars Then the scroll event should be able to take care of that for you... Private ...Show All
SQL Server Limiting Number of Items Displayed in Report
ey there, quick question... is there any way to limit the number of items displayed in a single page say i want to display up to 10 items, and then the rest of the items are then displayed on the next page any help and suggestions would be greatly appreciated. thanks! Tim I posted a working example in the other thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=157571&SiteID=1 ...Show All
Visual Studio Express Editions save game progress
hi! im not really new with VB, but im not a pro! lol any way, im in the middle of making a game, and i need some help! i need a way in which the *player* can save their game progress when ever they want, and then maybe later, come back to were they left off. now, i saw a few tutrials about this, but they were all txt files, were i need like a game file thing :), can anybody help me Gavin A better way to do it would be to have a set of numbers for each category, as mentioned before, but don't store it in .xml, as this would be easy to change and let the player give themselves advantages. You you would have something like this: (Where the sod is the code tag ) [code]0x01 = 0xF0 0x02 = 0x8D[/code] etc. Incase you don't know, ...Show All
SQL Server Execution 'desjl3yk2yzk4f2ycchu5jeb' cannot be found (rsExecutionNotFound)
Hi, Can u tell me the full description of rsExecutionNotFound Error.I tried to search on msdn2 also but there is not info provided for this. When exactly does this Soap Exception will be thrown by the web service Here is the code for which i am getting this error SecurityBR securityBR = new SecurityBR(); securityBR.ImpersonateUser(Session["UserName"].ToString(), Config.SSRSServerName.ToString()); ReportBR reportBR = new ReportBR(); ReportRow reportRow = (ReportRow)reportBR.GetByReportID(int.Parse(Request.QueryString["ReportID"].ToString())).Tables[0].Rows[0]; string strReportPath = reportRow["ReportPath"].ToString(); //rvReport is the name of my ReportViewer Con ...Show All
