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

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

ReneeC

Member List

No-spam Sam
mattdawg
Ayhan Yerli (TR-NL)
Slovikosky
amazingsunday
Tommi Pitkälä
ahmad.nazmi
canadian_coder
wywy
Craig Main
smp
RMan54
TheBlackhorse
billg51
Rogermp
somecrazyguy
Dharmbir
mindstorms
C#Coder
domw001
Only Title

ReneeC's Q&A profile

  • Windows Forms difference between .net 1.0 splitter and .net 2.0 splittercontainer

    What is the difference between .net 1.0 splitter and .net 2.0 splittercontainer controls Is there any functionality added Thanks in advance Srinivas Functionality is much the same, there is not much a splitter needs/can do. But the new SplitterContainer is much more easier to use. It's not a splitter only, it also contains the 2 "splitted" panels so you just drag it to a form and then place your controls in each of the 2 panels. With the old Splitter you need to drag one control, dock it, drag the splitter, dock it properly and finally drag the second control. And this would not be such a big deal but try changing the splitter from horizontal to vertical or changing one of the "splitted&quo ...Show All

  • SQL Server Moving data to and from SQL Server 2005, with manipulation in C#

    Hi I am wishing to * take a table of data into a C# CLR procedure and store it in an array * take a second table of data into this procedure row by row, and return a row (into a third table) for each row (and this returned row is based on the data in the array and the data in this row). I am new to CLR programming, and pulling my hair out at the moment. I’m sure that what I’m trying to do is simple, but I am not making any progress with the on-line help and error messages L . I have now described what I am trying to do in more detail, firstly in English, and then in a T-SQL implementation that works (for this simple example). I’m looking for the C# CLR code to be returned – containing preferably two parts: ...Show All

  • Smart Device Development short alignment issue

    I'm seeing something very weird when compiling this code for an ARMV4i Smartphone target and running it on a smartphone emulator: INT foo(UINT16 *srcPtr) { short data; data = *(srcPtr+1); switch (*srcPtr) {... } If the memory pointed to by srcPtr contains: 11 22 33 44 55 66 77 88 data is set to 0x88776655 (endianism isn't the issue, but 32 instead of 16 bits is - it should be 0x4433) *srcPtr is evaluated as 0x44332211, again 32 instead of 16 bits, it should be 0x2211. Any ideas Cheers, Ken I can't get VS2005 to create Smart Device projects, so I'm going to play blind here. With the following code, does the address for srcPtr and dataPtr differ by two bytes s ...Show All

  • SQL Server Question for designing a SQL Job Admin

    I want to design a login named "JobAdmin" who can add/modify/delete any SQL Agent Jobs but can't access my "db1" database. The jobs would execute some stored procedures in db1, and it could be a user "db1dbo" with db_owner role in db1 to execute the stored procedures. How could I let JobAdmin impersonate db1dbo to run these jobs Thanks in advance. i don't think this is possible and honestly, to me it does not make sense also. B'coz the JobAdmin is already a user of MSDB. There is no harm in creating a sp as i told. If a login is not a user of a db then i don't think this Execute As also help you. Can u tell me is there any particular reason to do so Madhu ...Show All

  • Windows Forms Slow-paced Tutorial on Cursors

    I intend to create and use custom cursors in my application, but most information on creating and using cursors and, more generally, creating and using resources, goes much too fast. I am looking for an 'absolute beginners' tutorial on how to incorporate a custom cursor in my application. Hi man chek this article http://www.planetsourcecode.com/vb/scripts/ShowCode.asp txtCodeId=24923&lngWId=1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Debugging D3DERR_DRIVERINTERNALERROR

    Hi, How do I debug my rendering loop when IDirect3DDevice9::Present returns D3DERR_DRIVERINTERNALERROR I am interested in finding out which API function call contributes to this error. I have read the SDK documentation about emptying the command buffer. Since the buffer flushing action takes place after the API function call returns, I don't think I can use the HRESULT return value of the API function call. From the SDK documentation, I saw several API function that can empty the command buffer. Seems like I can use ValidateDevice only to query the driver state after texture blending operation only. I cannot find any query type to find out if the command buffer contains any offensive commands. I can surround each rendering API function li ...Show All

  • Visual Studio Express Editions Print Previewing the Form

    I did some research on Print and Printpreview for my form. They did work, sort of. It printes a blank page or in the preview it says: 'Document does not contain any pages.' I tried setting the size in the CaptureScreen() to the size of the form. memoryImage = new Bitmap (684, 559, mygraphics); //this is the size of tabPage1 Any suggestions Here's the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace InvoiceReceipt { public partial class Form4InvoiceReceipt : Form { public Form4InvoiceReceipt() { InitializeComponent(); } [System.Runtime.InteropServic ...Show All

  • SQL Server Access with an SQL Server backend.

    My question is this: "Does anyone know where to set up the connectivity for an access database to store data on an Sql Server " It was the answer, but I have tried that. I cannot get at the data source on the server. We have tight security here, that maybe the problem. Is there a way I can convince the Network Engineer to allow this It is the only way I can get something like this to work properly. ...Show All

  • Visual Studio 2008 (Pre-release) Visual Studio 2005 - How to wire-up event handlers for WPF controls?

    Normally, double clicking on something in the design view creates the event handler... or you can click on the event button in the properties tab and add it. Is this functionality coming soon... or is the paradigm changing Thanks. Yes, the WPF Designer "Cider" alias would be more appropriate... I've been told the functionality will be coming in VS "Orcas", until then here is the best way I've found: Adding Event Handlers in VS for WPF Thanks, Rob Relyea Program Manager, WPF Team http://rrelyea.spaces.live.com ...Show All

  • Windows Forms Navigating through pictures on a form?

    I am programming with C# in Visual Studio 2005. I am trying to create a form that will display a single image from a set of 5 pictures. Then use previous and next buttons to navigate forwards and backwards through that set of pictures displaying each one. I have created a 2nd form which when loads up displays the first picture using the code :- pictureBox1.Image = Image .FromFile( "C:\\Documents and Settings\\My Documents\\pics\\pic1.gif" ); I know that I need to declare and initialise an array to hold all the images in and then use a for loop to display them but I am having trouble working out how to do this as I am not an experienced programmer. If anyone could help me out with this it would be much appreciated! ...Show All

  • SQL Server Schedule Job Keep on failing!

    Hi, Actually i saved a SSIS package into a SQL Server 2005, then scheduled to run a job from SQL Agent, but, the job keep on failing and no error message was returned in order for me to toubleshoot. After the job failed, i restart the job again, and it actually continue to run, but unfortunately, it stopped again after some time. And, before i sheduled the job, i actually tried to run the package itself in SQL Server Business Intelligent, it runs suceessfully. In the package, i actually set the ProtectionLevel to DontSaveSensitive. Another option that I used to run the pakage was using dtexex.exe: dtexec.exe /FILE "E:\Package.dtsx" /MAXCONCURRENT " -1 " But, the error message returned also not so u ...Show All

  • Visual Basic Accessing HTMLElements Methods from VB 2005 within WebBrowser

    Hi there, I have a Windows.Form with a WebBrowser-Component. I can handle almost anything but I want to change properties of HTML/DHTML-Objects. For example: Dim Selectbox As HtmlElement = myBrowser.GetElementbyId( "SelectBoxNr1" ) Now Selectbox is a HtmlElement and I want to change the selectedIndex but I can't. If I debug and add Selectbox to Watchlist I see the property I need under Selectbox.DomElement.mshtml.HTMLSelectElementClass.IHTMLSelectElement.selectedIndex. How can I change the selected index I also tried: Selectbox.InvokeMember("changeIndex", "3") but this doesn't work Any Ideas ...Show All

  • SQL Server measure using calculated member

    I have fact and 2 dimensions. i have to create a mesure using calculated member. fact is having fkey ckey monthid hits responses CDIM is having Ckey ADateID MonthDim is having Monthid MonthName now i want a measure(XYZ) to be calculated using calculated member as Count of Ckey for AdateID = '20000101' for current member of monthdim. finally when i browse thru a cube it should display some thing like below. Monthid XYZ 200601 1000 200602 2000 Thanks in adv Steve, they are correctly related. and i want to tell you that most of my dimensions are not directly related to fact table. they are reference thru a fact(this table is a dim for main fact) tabl ...Show All

  • Visual C# Store a reference

    I would like to pass along a reference to a structure to another class and then store the reference in that other class. If i had pointers, it would look like this: someStruct myStruct = new someStruct(...); receivingObject.ReceivindMethod(&myStruct); and the implementation... receivingObject::ReceivingMethod(someStruct* passedStruct) { localStructPointer = passedStruct; } However.. if I give the structure to another objects method and use ref to pass by reference, I can use the refenerence as such in the receiving method, but how do I save that reference so that I can access it as a reference at another time If I assign the referenced struct to a local struct, then it copies the contents... and I am not ...Show All

  • SQL Server problem with key encryption

    Hello, I am using report server sql express. The report was working until yesturday.Sudenly the report did'nt work and give an error : The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content and then restart the service. Check the documentation for more information. (rsReportServerDisabled) Get Online Help Bad Data. I delete the key and change the data source.Now it works fine! My problem is that this is not the first time that it happens!!! I don't know what the cause of the problem and why suddenly after some times,the report give an erraur that i have to delete the key!! i ...Show All

©2008 Software Development Network