Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
W

W4Rl0CK47

@W4Rl0CK47
About
Posts
10
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MainboardSN & HarddiskSn
    W W4Rl0CK47

    If you're running your code ONLY on windows,, easiest way is to use a WMI Script. If you also want to run it on other platforms too, you need to dig deep with C++ and connect it with java using native methods because java don't have low level access to hardware. Try the link below. it uses the WMI script on a VB script which is dynamically written to a file and executed. http://www.rgagnon.com/javadetails/java-0580.html[^] On both codes, scripts are on a temp file. And after the file is closed, temp file is deleted automatically because of the call to file.deleteOnExit();

    ---W4Rl0CK---

    Java question java help

  • TreeView Selected Node Scroll Problem
    W W4Rl0CK47

    Hi, I have a TreeView control defined on my page. All works well apart from the fact that the list of nodes it contains extends beyond the bottom boundary of the control so I've wrapped the control in a DIV which adds scroll bars. I can scroll to the bottom of the TreeView and select a node; but unfortunately, the TreeView then scrolls to the top automatically and this means that I can no longer see the node I selected unless I then scroll back down to it. Can anyone tell me how I can prevent this from happening? Thanks :)

    ASP.NET help question

  • TreeView Relative Width
    W W4Rl0CK47

    Generally, speaking I do try and ensure I use fixed sizes for my ASP.NET sites. Unfortunately, in this instance, a user asked if the width of the TreeView could be increased. They're using a high-res screen but other users use laptops with relatively low-res screens. The content of the TreeView can be very wide which is why the high-res user wants to take advantage of the res they're working at. The only other thing I can think of is to use a fixed width and display a Tooltip showing the full text of a TreeViewItem that the mouse is positioned over. It really is a pain that the TreeView is so inflexible and it's unacceptable that it's never been fixed considering how long it's been available to developers :/ I now have to implement a fix which will be at best a compromise :(

    ASP.NET help

  • TreeView Relative Width
    W W4Rl0CK47

    I'm afraid that's exactly what I've tried doing. Placing the div around the control provides the TreeView with the scroll bars I need but it doesn't allow me to control the relative width of the TreeView. It seems the TreeView's width is governed by the width of the TreeView Items it contains unless the width is specified. Of course, if I resize the page, the TreeView remains at the same size which is fine if you know what resolution the user will be using, but if the user can display the page in anything from XGA to WUXGA, what looks fine on a low resolution screen will look pretty poor on a high res one :(

    ASP.NET help

  • TreeView Relative Width
    W W4Rl0CK47

    I did that but the TreeView was instantiated at page load as the same width as the widest TreeViewItem. Further, when I selected an item in the TreeView, it subsequently *increased* the width of the TreeView to accommodate the selected item. As you can imagine, I'd like the page to load, and for the TreeView's width to always be governed by the size of the containing element, in this case, a table column and contained div. It seems that if I set a specific width for the TreeView, it remains at that width no matter how wide the TreeViewItems are. I just don't see why the TreeView control can't inherit its width from the containing element - where the table is defined as 100% the width of the page and the containing column is set to 50% of that.

    ASP.NET help

  • TreeView Relative Width
    W W4Rl0CK47

    Hi, I need to render a TreeView control relative to the width of the window. I can place the TreeView in a

    to show scrollbars, etc. but it seems that if I wish to set the control's width relative to the page size, so that it changes width as the user changes the window size using the mouse, I'm stuck. I can set a specific width and that works fine but if I try and set a relative column width, say 50%, the control ignores the width of whatever control it's in context of. The problem is that a user may have their resolution set to XGA or WUXGA so I need the flexibility of relative sizing as opposed to fixed. Thanks for any advice offered :)

    ASP.NET help

  • Visual Studio only displaying HTML instead of Design View
    W W4Rl0CK47

    Hi, I'm writing a Windows Forms application in C# and my design view is now only displaying HTML. Is this an alternative view for the form design and if so, how do I revert back? Have I managed to set some flag I shouldn't have? :doh: :)

    C# csharp question html visual-studio winforms

  • Ole DB command not working
    W W4Rl0CK47

    I'm trying do run the Ole DB below with OleDBCommand but I'm getting a strange error, OleDB doesn't have some functions implemented? SELECT [Plan1$].[Cliente] AS [Cliente0], CONVERT(varchar, DATEPART(q,[Plan1$].[Data]) % 2 + 1) + 'S/' + DATENAME(yyyy,[Plan1$].[Data]) AS [Data1] FROM [Plan1$] ORDER BY [Plan1$].[Cliente] ASC, [Plan1$].[Data] ASC ConnectionStr: Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\works\Clientes.xls";Extended Properties="Excel 8.0;HDR=YES;" Error: System.Data.OleDb.OleDbException: Sintax error 'CONVERT(varchar, DATEPART(q,[Plan1$].[Data]) % 2 + 1) + 'S/' + DATENAME(yyyy,[Plan1$].[Data])'.

    .NET (Core and Framework) database com help question

  • SharePoint Search in Document
    W W4Rl0CK47

    Hi, Can anyone advise me on how to search within a SharePoint document? I've seen several examples of how to use a keyword or SQL search but having tried the code out, I only seem to be able to match against metadata such as the document's title, and various columns, such as keywords (of course). I thought that SharePoint MOSS 2007 would allow me to search the content of a document if I wished. Am I mistaken? Can anyone suggest a way of searching within a SharePoint document?

    C# sharepoint database algorithms regex tutorial

  • Suggestions for displaying search results like Google?
    W W4Rl0CK47

    Hi, I want to search a database for some documents and then present the search results from my web application. I thought about using a GridView but that will display strictly in columns/rows. What I want is to display several rows for each result like this: ---------------------------------------------- Search Result #1 This is a bit of text describing the document This is the actual URL of the document Search Result #2 This is a bit of text describing the document This is the actual URL of the document etc. ----------------------------------------------- Can anyone suggest a good approach? I can't use GridView for this and TextArea won't work either will it? Any other ideas? :)

    ASP.NET database question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups