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

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

lvandiest

Member List

Steve from adzac
peedee
RayRayN
Stuart Robinson
REspawn
Leon94
OmegaMan
KENTY
Alex Yakhnin - MSFT
CSharpShooter
den2005
TheViewMaster
simon burgess
ZZia
Drake1500
sroughley
donkaiser
Victor BA
Rogermp
Meir P
Only Title

lvandiest's Q&A profile

  • SQL Server Track Login

    Hello Everybody, I am pretty new to use code or for integrating Reporting services into a .asp page.How ever i can do good in designing and develping Reports My Problem is How can i implement Login window for Reporting services (Local) and i what is the class what should i do to track that login and want use it for filtering the data. Suppose if my name and password is given ,then i should get only records related to that login (I have column that is login). So pls let me know how to track the login and how do we do actually integrate a report . Pls suggest any link if so.how to use login of report which will get integrated into asp page later. Thank you Raj Deep.A Hi Raj, Here are a couple of links on how y ...Show All

  • Visual C# DataGridView, Checkbox column, change style

    Hi, I managed to make disablable cells in a DataGridView but now I need to change the color of the components inside a disabled cell to LightGrey. The ForeColor only change text color, not the checkbox colors. I'd like to know how to change the style of items inside of cells. Anyone knows In fact, what I need to do is to change the color of the brush bevore the base is called. In the old datagrid, it was easy, the Bool column's Paint event had it but the checkbox column doesn't. Thanks You could change the color of the DataGridViewColumn as follows: DataGridViewCheckBoxColumn cbColumn = new DataGridViewCheckBoxColumn(); cbColumn.CellTemplate = new DataGridViewCheckBoxCell(); cbColumn. ...Show All

  • Visual C++ CreateFile to device in VB.NET 2005

    I have an application that communicates with a USB or Serial device using CreateFile(). It was originally created in VB6 and I ported the project to Visual Studio 2005, and it works fine. But, I wanted to move the old C code to a dll or class and then use the new GUI features in VS2005, along with CLR, managed code, etc. With the class version (done in a mixture of managed C++ and the old C code compiled as not managed), it compiles fine and I can step through the code from my managed VB GUI to the unmanaged C code in the class, but now CreateFile fails, with a return code of 2 ("The system cannot find the file specified"). Can anyone explain why CreateFile works fine in the old unmanaged code, but now doesn't work in my new 2005 pro ...Show All

  • Visual C# _/ Enable Application Framework, where'd it go?

    Why is enable application framework under project properties available in VB, but not C# or am I missing something Actually, I was hoping to disable it.  I don't want my application to have that WinXP look for my menu strip.  I don't like how it has all that open space for a picture because it doesn't look professional and I don't want to draw any images for the menu strip either. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C vs C#

    Currently I'm taking a C class at my university and I was wondering how different is C# from C code wise. Thanks Sebastian I understand that. Still it was not that hard a transition to me. But on the other hand. Who knows if I have grasped it and use it to it right extent :) ...Show All

  • Windows Live Developer Forums New Web and Sidebar Gadget Forums.

    The Gadget Forums on MicrosoftGadgets.com have been moved to MSDN. This change allows us to offer more features and better support. For reading or posting messages, go to the new Gadget group on MSDN forums . The following two gadget forums have initially been added to the Gadget group: Sidebar Gadget Development Web Gadgets Development For more details, visit the Gadgets blog . I LOVE Gadgets! Haha.Thanks! -Rationalise http://web.singnet.com.sg/~ripley/ ...Show All

  • Windows Forms Help Creating Bold Text...

    Ok, the problem I'm having is thet when I select my text and click my BoldButton, no matter what my selected text font or text size is set to, it reverts it back to 'Microsoft Sans Serif, 8.25 pt' Here is my code: If (Color.op_Inequality( Me .BackColor, SystemColors.ControlDark)) Then Me .BackColor = SystemColors.ControlDark End If If Not ( Me .Font.Bold) Then Me .Font = New Font( Me .Font, FontStyle.Bold) RichTextBox1.SelectionFont = Me .Font Else Me .Font = New Font( Me .Font, FontStyle.Regular) RichTextBox1.SelectionFont = Me .Font End If RichTextBox1.Focus() I know it has to be a simple fix...........Thanks for your reply. Maybe bec ...Show All

  • Visual C# how do i convert a string into an arraylint?

    hi.. i have an array list called students.. i need to add all students in my database into this arraylist.. thats easy but the problem is i need each student to be an arraylist (jagged arraylist)... is that possible ! i tried to do it like this but it didnt work.. if (socketData.clientID == reader.ReadElementContentAsString()) classes. Add((ArrayList)socketData.clientID ); <=== "Cannot convert type string to arraylist" im open for ideas.. peace. Something like this ArrayList classes = new ArrayList (); ArrayList myClass = new ArrayList (); myClass.AddRange( new object [] { socketData.clientID, socketData.clientName }); classes.Add(myClass); Andrej ...Show All

  • SQL Server shrink tempdb

    I have a sql2000 server that has a 24 /7 uptime. The tempdb size is increasing rapidly. it was 4 Gbs and i restarted the sql server to shrink the tempdb size which worked fine. but now after 1 week then tempdb size is almost 1.5gbs. Is there anyway that i can shrink the tempDb without restarting it. Asking the users to stop using for a certain timeframe after every month or so seems like a hassle for the users. hai guys... i've got the identical case but different problem. it's still about shrink tempdb. my office sql server have job schedule in every 3 hours for shrinking tempdb. I'm sure it's not the good practice. Then I've got the locking tempdb problem, it's happened while the task to shrink tem ...Show All

  • SharePoint Products and Technologies Left Menu customization

    Hello, I just want to change the look and feel of the left menu (current navigation). Can anyone help me the following. 1) Menu items, is there anyway to change it other than from Site Setting section. Is there any other data source (like xml file) which can be modified 2) To change the look and feel do i have to write a web part, I want to change in a way that hover over the menu it should display its child menus. Thanks, Bilal One options is to go to the Master Page for the site you want to modify and locate the section that reads: <SharePoint:AspMenu id="QuickLaunchMenu" DataSourceID="QuickLaunchSiteMap" runat="server" Ori ...Show All

  • Visual Studio 2008 (Pre-release) type inference

    Theres been some comments in this forum about some interesting developments to come on the type inference front. Any chance of getting some information on what is being considered/done, and when we might expect to see it Hi there, We are looking at one problem with type inference of generic methods, which is that all inferences for a given type parameter currently have to agree completely. For the Join operator in LINQ, for instance that has some consequences: IEnumerable<V> Join<T,U,K,V>( this IEnumerable<T> outer, IEnumerable<U> inner, Func<T,K> outerKeySelector, Func<U,K> innerKeySelector, Func<T,U,V> resultSelector); Here the two key selector arguments have to have exactly the sa ...Show All

  • .NET Development Best timeout approach for worker thread?

    Hi all, I'm currently working on a C# app which makes uses another team's component to make a call to a web service. This web service request sometimes takes a long time to return, so I need to have a timeout on the request. Initially I implemented this by making the request in a new worker thread, then calling workerThread.join(timeout). However, this is giving me very unpredictable behaviour. Sometimes the timeout works fine, but often it never times out, or takes a very long time to timeout. When I saw this behaviour, I tried another test. I put a sleep(2*timeout) call in the worker thread before it makes the web service call. With this in place, the timeout works correctly all the time. Would I be right in thinking this is ...Show All

  • Software Development for Windows Vista WF Designer: Glyph provider is not being used by my viewer

    Hi all, I have a web page that displays the workflow image for a given workflow instance id. I based this code on the WorkflowMonitor in the June CTP SDK. To avoid CAS issues, my workflowViewer saves the workflow image as a stream which is returned to the web page for rendering (as opposed to hosting a designer surface directly in a web page). This is working fine, however I am unable to hook in the glyph provider to mark Closed and Executing activities, as is done in the SDK. Here's the relevant code extract: --- IDesignerGlyphProviderService glyphService = (IDesignerGlyphProviderService)designSurface.GetService(typeof(IDesignerGlyphProviderService)); WorkflowMonitorDesignerGlyphProvider glyphProvider = new WorkflowMoni ...Show All

  • Visual C# Converting date to system current date time format

    Hello Can somebody help me for below problem In my .Net application I am using vb component having one method which accepts DateTime as a parameter. This value will be inserted into the database. The value to be passed to this method will be taken from some other database. Before passing this datetime variable I want to set the date format as a current culture system datetime format with ShortDatePattern. I used the below code to get the system short date format and to set that format to DateTime variable but the format is not getting changed to ShortDatePattern. Code :- string LstrSystemDateFormat = System.Globalization.DateTimeFormatInfo.CurrentInfo.ShortDatePattern; string LstrDateString = "15/01/2007"; DateTime Effec ...Show All

  • Visual Basic Arrays

    i know it sounds sad but i am stuck. i am trying to do a simple array with numeric data to be entered into one textbox and then transfered to another. with this done i need to do standard deviation claculations. any form of help will be more than welcome I hope this helps. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=510610&SiteID=1 A textbox is for display. It's not a datastorage device. ...Show All

©2008 Software Development Network