Sunil_Kumar_63c25f's Q&A profile
SQL Server Why cant we create a partition for Dimension?
Hello, Dimension also has data.So Why cant we create a partition for Dimension AS 2005 doesn't support partitioning dimension data. This feature will be considered for future versions of the product if there is a popular demand. ...Show All
Visual C++ Change DLL Search Order Dynamically?
Is there a way I can alter the dll search order dynamically (launching executable process) * SetDllDirectory( ) only works with LoadLibrary/LoadLibraryEx * CreateProcess( ) doesn't seem to have any flags/parameters to toy with. * LoadLibrary( )/LoadLibraryEx( ) don't load executable bits for executing (only for resource manipulation) * Changing values in the registry upon load is unacceptable and would likely break anyway. Rafael Rivera wrote: Yea, I went down the Detours path but couldn't find a way to avoid having to write a copy of the original executable to disk so I abandoned it. If I could use Detours and pipe the output to a portion of memory and execute it, then I'd switch back t ...Show All
SQL Server ODBC Connection failure
Hello there! This is my issue: I do have a database which back end is in SQL Server 2005 and front end is in ACCESS 2003. When one of the forms is trying to write duplicate information in any of the tables, there is a message coming "ODBC -- call failure", I wrote code trying to avoid that situation, but is keeps on coming. Does anybody have any idea about how to handle this exception I would really appreciate a help on this subject. Thanks; Luisofo One approach is to add an On Error handler to the Access Form. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbaac11/html/achowRuntimeErrorHandling_HV05186924.asp In the On Error handler you can use the Err object to determine the source of the erro ...Show All
.NET Development How do I download a file to a certain directory or where does the file download go?
How do I download a file to a certain directory or where does the file go after it has been downloaded Thanks, Hi wizkid1, If you call the download function as follow: DownloadFile("http://www.sample.com/test.txt"," C:\Download \ test.txt ") You can see that the second parameter include the Output Location and the File Name. Regards Dat. ...Show All
SQL Server Sending SQL Mail
Hi, I am using SQL Server 2005. I have configured my email on Database Mail. when I am trying to send email using xp_sendmail I am getting problem error as: Msg 17925, Level 16, State 1, Line 0 xp_startmail: failed with mail error 0x80040111 I am using following sql statement master . dbo . xp_startmail 'myaccount' , 'mypwd' master . dbo . xp_sendmail 'tomail1@mail.co.in' , 'test' where myaccount and mypwd is my password on my email profile. 'tomail1@mail.co.in' is the destination email address.. thanks Hi Jens Suessmeyer, Thank you for your reply. The user I had logged on is having full privilige, both windows authentication, and sql authentication with sa user i have tried. and another thing is I am ...Show All
.NET Development Session cookies not working
Hello ! My program uses HttpWebRequest several times to login on site page, and problem is - i need to use session cookies to indentity all my requests are from same program. What i'm trying to do is i'm saving cookies send by site: Dim MySavedCookies as System.Net.CookieCollection MySavedCookies = MyHttpWebRequest1.Cookies And on other accesses i'm sendng this cookies collection back, and updating cookies collection: Dim myHttpWebRequest2 as System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(SomeUri) myHttpWebRequest2.CookieCOntainer=new System.Net.CookieContainer myHttpWebRequest2.CookieContainer.Add(Cookies) ....... MySavedCookies.Add(myHttpWebResponse2.Cookies And this is not working. As far ...Show All
Visual Basic RTS and DTR serial port control
Hi I'm back on VB after a long while. I'm having problem controlling the RTS and DTR signals of the serial port. I'm trying to use RTS (maybe DTR as an alternative) to control an RS485 comms data direction. I have set up 2 buttons as a test with the following code: Private Sub Functionkey4_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Functionkey4.Click SerialPort1.RtsEnable = True End Sub Private Sub Functionkey5_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Functionkey5.Click SerialPort1.RtsEnable = False End Sub the program gets to both routines when the buttons are clicked but the RTS pin does not change, the port is wor ...Show All
Visual Studio Tools for Office Cannot open VSTO 2005 projects in VSTO 2005 SE
When I try to open my VSTO 2005 projects in SE, I get the following error: Microsoft Office Outlook 2003 SP1 or newer is not installed on this computer. You must install a version of Microsoft Office Outlook 2003 that supports Microsoft Visual Studio 2005 Tools for the Microsoft Office System projects. I have Office 2007 B2TR installed so have no clue what is going on. Thoughts Hi Helmut, The VSTO 2005 Outlook AddIn has the same limitations as the Document level projects; I know our above posts look confusing on this point. Unfortunately, you are correct. VSTO 2005 SE does not have any Project migration for the VSTO Outlook 2005 AddIn to the VSTO SE Outlook 2007 AddIn. Part of t ...Show All
Software Development for Windows Vista Cannot insert activities from the toolbox if CanModifyActivities=False
I would like to have a workflow initialized with two activities in it and also be able to drag additional activities from the toolbox into the workflow. I have written the code shown below to achieve this goal. However, after setting CanModifyActivities to false, I cannot drag activities from the toolbox into the designer. The designer does not accept the activities anymore and does not throw an exception. How can I have a workflow initialized with 2 activities in it and still be able to add additional activities by dragging items from the toolbox (which seems not to be possible, if CanModifyActivities has been set to false) [ Designer ( typeof ( WorkflowActivityDesigner ), typeof ( IRootDesigner ...Show All
Software Development for Windows Vista What is the rationale behind not having a static method to retrieve the current workflowruntime instance?
After doing quite some work with windows workflow I am starting to feel that there is one thing that is coming back every time you work with the WF runtime and that is getting the current running instance of the WFruntime. What I just can’t grasp is why there is no static method on the workflowruntime class to retrieve the running instance. (or by name if you have multiple instances running) In every sample you look you see that not having this method makes the developers suffer and you need to make assumptions that are not always true. e.g. take a look, at the WebServiceInput activity and try to use it without the generated configuration when you publish the service. (name the configuration something else then “workflowRuntime”!) ...Show All
SQL Server Grouping record based on a condtion
Technology Type Size XYZ A 200 XYZ1 A 200 XYZ2 A 300 XYZ3 A 300 ABC1 X 238 ABC2 X 238 PQR B 320 MNO C 330 I have written a query on a table whose output will look like the above. I need to know if i should store this in a record set or create a temp table to get the following fuctionality. Now I need to concatenate the Technology based on Type and size. As you can see in Type A we have two sizes 200 and 300. We need to group the Technology of type A wi ...Show All
Visual Studio Crystal Report does not load in VB 6 development environment
I designed a crystal report (DSR File) in vb6. I have inserted two ole objects in the report. This report was working previously but suddenly it stopped working and vb started thowing error 50034 when I try to open this report in design view or when I try to run the application. If I remove this report and then try running application again, it starts working. This report was working, it stopped working, strated working again and now again it has stopped working. Could you please help me to stop this weired kind of error. When I try to open the report in crystal report it says version incompatible, although the report is designed in the same version in which I am trying to open it. I have really stuch on this error, this is a very ...Show All
Game Technologies: DirectX, XNA, XACT, etc. ResourceManagementMode & LoadGraphicsContent
Hi. i have question about: void LoadGraphicsContent(bool loadAllContent); what belongs to what group (ResourceManagementMode) i see that Texture have parameter that control it, but where is Effect, Model... is there any list what is automatic and what is manual As far as I know, ResourceManagementMode only applies to the types mentioned under the "See Also" section in the docs: http://msdn2.microsoft.com/en-us/library/microsoft.xna.framework.graphics.resourcemanagementmode.aspx I would suspect that they are all automatic by default when loaded by your game's ContentManager. ...Show All
Software Development for Windows Vista Starting a WF from a WF
Hi, I'm trying to create a custom listener activity that starts other workflows and running into problems getting a handle on the WF Runtime. We are calling this particular activity from an ASP.NET site. On my local machine it works fine when I do this: WorkflowRuntime wfRuntime = new WorkflowRuntime("WorkflowRuntime"); wfRuntime.StartRuntime(); Dictionary < string , object > parameters = new Dictionary < string , object >(); parameters.Add( "TaskId" , taskId ); WorkflowInstance wfTask = wfRuntime.CreateWorkflow( typeof ( j1pTask ), parameters); wfTask.Start(); But when we publish the site to the server we get errors on the first line. From my reading it appears that this shouldn't w ...Show All
Visual C# #ziplib and rar files
Does anyone know if #ziplib does not work with RAR files Ive been using it with zip files, but AFAIK it does not work with RAR files...if so, what would be a good option for RAR files extraction Why dont you see its documentation or just give it a try I think that's better than posting a question of forums and then waiting a couple of hours for a reply. On the other hend a self test can done in hardly 5 minutes! Best Regards, Rizwan ...Show All
