Software Development Network Logo
  • Visual C++
  • Windows Vista
  • Audio and Video
  • Visual FoxPro
  • Smart Devicet
  • Visual Studio
  • VS Team System
  • Microsoft ISV
  • Visual C#
  • Game Technologies
  • IE Development
  • Windows Forms
  • SharePoint Products
  • Visual Basic
  • .NET Development

Software Development Network >> lkshikoh's Q&A profile

lkshikoh

Member List

jschroeder
Taitt
Victor Nakoryakov
Jeroen Hauser
R.Tutus
erick_the_redd
IGiberson
Mehmet Metin Altuntas
Rachita
a.d.m
rternier
Eli Bayeh
Fred Herring
almondelm
msaradhi
nick0123
Andres Aguiar
Speedbird186
IamHuM
keshavbs
Only Title

lkshikoh's Q&A profile

  • Visual Studio Error installing

    When installing " Microsoft Visual Studio Code Name “Orcas” Community Technology Preview – Development Tools for .NET Framework 3.0 " (vsextwfx.msi) from 7/17/2006, I get an error message: Setup has detected that a prerequisite is missing. To use Microsoft Visual Studio Code Name "Orcas" Community Technology P...0 you must have the .NET Framework 3.0 runtime installed. Please install the .NET Framework 3.0 runtime and restart setup." ( See screenshot here ) Then, the setup must be exited. Before this Orcas, I successfully installed the following components, as described here : " Microsoft Pre-Release Software Microsoft .NET Framework 3.0 - Release Candidate ", " MicrosoftR WindowsR Software Devel ...Show All

  • SQL Server Logshipping problem with naming transaction log backups

    Hey, my logshipping is working just fine but the name of the backup file is of a concern to me. It's using the name in the format of DbName_20061011200002.trn. I know 20061011 is the date. That's fine. 2000 is supposed to be the time but it's giving the wrong time. It's supposed to be 1500 because the time right now is 3pm. And I dont know why the last 2 digits before the .trn are for. Is this something new in SQL 2005 logshipping SQL 2000 didn't have it. Thank you. Log shipping uses UTC time when naming the files. This ensures that global deployments of log shipping work consistently. Regards, Matt Hollingsworth Sr. Program Manager Microsoft SQL Server ...Show All

  • SQL Server can't install a CLR stored procedure

    I have written 2 CLR stored procedures. I have a local copy of our database to which I was able to successfully deploy them. When I changed the connection string to our production database, it fails when I try to deploy. It gives me an error... EXTERNAL ACCESS ASSEMBLY permission denied on object 'server', database 'master'. I've logged onto the database server and set trustworthy on for that particular database. I also tried... CREATE ASSEMBLY UpdateJobAdSearch FROM 'I:\DLL\Candidate.dll' WITH PERMISSION_SET = EXTERNAL_ACCESS Candidate.dll is the stored procedure dll. I also read on http://msdn2.microsoft.com/en-us/library/ms345106.aspx about doing something like.... USE master GO CREATE ASYMMETRIC KEY CandidateKey FROM EXEC ...Show All

  • .NET Development Serializing a large data structure

    I want to serialize a class that contains a great deal of data (up to many tens of megabytes), nearly all of which is in unmanaged memory.  All the methods I can find for serializing a class end up with SerializationInfo.AddValue calls, which would be hugely wasteful and slow if performed pixel-by-pixel. (The class is a .Net wrapper for an unmanaged image object.  I want to implement ISerialize so that I can provide a VStudio debugger Visualizer). So far I have achieved my objective by transferring each row of the image into a managed array, then serializing the array.  The disadvantages are (a) I need to keep 'inventing' a new name for each row, (b) I can't re-use the managed array (or the serializer conclud ...Show All

  • Visual Studio Accessing user list from VSS

    Hi, How to get the user information from the Visual Source Safe (VSS). I want to display the associated users for a project configured in the VSS. Can someone help me to get the user list from the VSS using C#. Thanks in advance, santhosh A project doesn't have associated users. Users are assigned to a DB. What I assume you want is to know what users have at least read access to a specific project. To do that you'll have to enumerate all the users in the DB and call ProjectRights for the desired project. Here is some sample code (it won't compile): IVSSDatabase db = new VSSDatabase(); db.Open("...", user, pwd); foreach (IVSSUser user in db.Users) { VSSRights rights = user.get_ProjectRights("$/project ...Show All

  • SQL Server Create Subscription For Rpt Service with Windows integrated security !!!

    hi All, I m nicky here. I have problem on Create Subscription for my report if my Data Source is use Windows Integrated Security, with this error message: "Subscriptions cannot be created because the credentials used to run the report are not stored, or if a linked report , the linked is no longer valid" Please Help .... Thank you From nicky Not sure I understand. When you say multiple copies of a report, you lose me. I have a report that has stored credentials so that the subscription will work. Unfortunately this also means that anyone can log on to the server and view the report. How do stop everyone from viewing the report ...Show All

  • Visual C# Instantiate Objects

    I have an class which has a method that will open a form. I want to pass which form this method should open as a parameter when instantiating the object. I don't want to instatiate the form until the method is called. How can I pass to the object the form that the method should open. It seems like there should be an easy way to do this. Thanks my solution answers the problem where you wanted to pass the "type" and not the object, but you probably also want to pass an array of objects to act as the constructor paramters for the "type" you want to instantiate: void createMe(System. Type formType, object[] args) { Form myForm = ( Form ) Activator .CreateInstanc ...Show All

  • Visual C++ (MFC) Can not disable scroll bar in CWebBrowser object?

    I have created a browser object in my MFC application, but I want to disable the vertical and horizontal scroll bar. The navigate function works fine butEnableScrollBar doesn't seem to respond to the disabling command (ESB_DISABLE_BOTH). Here's how I used the code: --------------------------------------------------------------------------------------------- CWebBrowser testBrowser; COleVariant noflags; testBrowser.EnableScrollBar(SB_BOTH, ESB_DISABLE_BOTH); testBrowser.Navigate("testpage.htm",&noflags,&noflags,&noflags,&noflags); --------------------------------------------------------------------------------------------- Please let me know what I'm doing wrong here, thanks a lot! ...Show All

  • .NET Development CAS declarative security

    How come it is not possible for an otherwise fully trusted assembly to refuse some permissions (declaratively) without loosing it's full trust status Hello All. mic: Basically, because full-trust means full-trust. When you say "otherwise fully trusted," I infer that you believe that there are other considerations that go into defining full trust. There aren't. Full-trust means an unrestricted permission set. Yes, there are other considerations which go into determining which trust level an assembly is granted, whether no trust, partial trust, or full trust; evidence like point of origin, strong name, digital certificate, etc. These are used to determine the level of trust granted, but they do not change the defini ...Show All

  • SQL Server How do I move my database?

    I am using VWD 2005 Express, with SQL 2005 Express. My web hosting company supports ASP 2.0 and SQL Server 2005, but have put SQL on a database server, which is separate from the application server. I successfully published a "Hello world" test application, but my database application failed after displaying the logon page, presumably when it first tried to connect to the database. VWD has created my database within the application folder ( app \App_Data\ASPNETDB.MDF) and created the configuration string in web.config: - < add name = " ConnectionString " connectionString = " Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True " pr ...Show All

  • Visual C++ Access to the timezone database

    Hi all, is there an API to access the OS's timezone database (like offsets from GMT, DST rules etc.). What timezone names are used, where do I find documentation about it (i.e. the API, not tomezones in general) cheers, aa Simple Samples wrote: The Windows timezone data is in the registry. About a decade ago I spent a few days trying to figure it out but since then someone wrote an article in a magazine describing it. Hopefully it has since been documented by Microsoft. So look in the registry; if you can't find it I will look for the registry key. When you find it, you hopefully can search the MSDN to find the documentation or the internet to find the article. A few days ago I was looking in the MySQL web site and saw som ...Show All

  • Visual Studio Express Editions Reading serial Byte data at 115200 Baud

    Dear all Thank you for this possibility to ask you and apologize me if this question is not relevant .. I'm new in VB 2005 I have small project to CODE application to log serial data from uPC with 32 Bit message / 4 Byte. Speed is 115200 Baud for evaluation I did universal logger where I can choose type of data ASCII BYTE BINARY Program at 4800Baus with GPS mouse work well, but problem is with my target 115200 Baud,... on this speed I can recieve and log to file ASCII - strings ... please have a look to code, I try to change input read buffer but without sucsess .... Private Sub Timer1_Tick( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick L_TIME.Text = TimeStr ...Show All

  • SQL Server Report Services - capture userid of person running the report

    I have a report which executes a stored procedure when the report is opened. What function will capture the identity ( name or user id ) of the person opening the report and therefore executing the procedure the first parameter of the report is UserId, string, hidden the available value is label UserId with value =User!UserID. The default value is non-queried =User!UserID the data source is: exec ReportBase.dbo.proc_TestUser '01/01/2006','01/02/2006',@UserID the procedure is: -- ============================================= -- Create basic stored procedure template -- ============================================= use ReportBase GO -- Drop stored procedure if it already exists IF EXISTS ( SE ...Show All

  • SQL Server Datetime accuracy

    I need to store time data accurate to the milliseconds. According to BOL, the sql datetime is only accurate to 3.33 milliseconds. Not good enough. I need at least 1 ms accuracy. Any suggestions TIA, Barkingdog You don't have too many choices.  Best option is probably a SQLCLR user-defined type that wraps .NET's System.DateTime type.   -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 --     " "barkingdog"@discussions.microsoft.com " < "= UTF-8 B YmFya2luZ2RvZw== ="@discussions.microsoft.com > wrote in message news:a59ccce7-751a-4bbc-a068-f61210ca6d64@discussions.m ...Show All

  • Visual Studio Debugging Error Message of VS2005

    --------------------------- Microsoft Visual Studio --------------------------- The following module was built either with optimizations enabled or without debug information:   C:\Documents and Settings\ Peter Peter \Local Settings\Application Data\assembly\dl3\GK36Y4X8.1TR\K1JO6NOP.P99\bc8980d3\f0e49e63_711dc601\MyResources.dll   To debug this module, change its project build configuration to Debug mode. To suppress this message, disable the 'Warn if no user code on launch' debugger option. --------------------------- OK   --------------------------- I didn't do anything but this error message come out from VS2005, I followed the "suggested" solution and of course, it doesn't work. Who know the reason of ...Show All

©2008 Software Development Network