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

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

AKW2006

Member List

vishuonline
Hooper
stephanielauym
meoryou
BJHop
JayR
KeithCourage
barkingdog
pidnas
Aleksandr Tokarev
Jabber
Adriaanse B
avatar4938
thukralz
aramka
Ana Maria Bisbe
Keith27
laserbeam
swg
nic101
Only Title

AKW2006's Q&A profile

  • Visual Studio Express Editions Question about moving items from one listbox to another....

    I have a page where I have two list boxes. The first (on the left) is databound to a SQLDataSource. I'm trying to select multiple items from listbox1 (CompleteList) and have their text show up in the the listbox2 (SelectedList). My problem is that only the first item I have selected populates into listbox2. Can someone help me fix my code. Honestly I'm surprised I made it this far since I know nothing about C#.   protected void addBtn_Click( object sender, EventArgs e) { ListItem lbItem = new ListItem (CompleteList.SelectedItem.Text, CompleteList.SelectedItem.Value); SelectedList.Items.Add(lbItem); } hi, listitem is a single item , if you want to move a collection then you have to creat a listite ...Show All

  • Visual Studio Tools for Office XML vs Bookmarks/ranges

    Hello there. I have a solution that will eventually consists of several documents. The thought is that they are stored on a server and when the user downloads and opens them they get filled with some premade data that it gets from a server(project name, id, project location etc). As I have understood it this can be made with both bookmarks/ranges and attaching an XML schema. What are the different advantages in regards to speed, complexity etc when you compare bookmarks to XML If you do decide to go the ServerDocument route, note that if the document that you are adding a customization to does not yet have the Runtime Storage Control (RSC) already embedded in it, Office will need to be started on the server (which is not a recommende ...Show All

  • Windows Forms Overriding ExecCommand in MSHTML

    Hi All I'm using the MSHTML Reference Set to create a WYSIWYG Web Editor and I need to be able to do two things: Override the tag settings in the ExecCommand functions so that, for example, when I use the bold function, it uses the <b> tag instead of the <strong> tag. Create new ExecCommand functions for tagsets such as tables, divs, spans etc. For this, I need to be able to detect whether text has been selected (in which case, the selected text will have the element applied to it) or whether it applies to the text which is typed after the function has been called. How do I go about doing this I've tried using the apply element function for IHTMLDocument2 but I cant get it to work. ...Show All

  • Smart Device Development How to hide keyboard at mobile 5.0 or pocket pc2003

    Hi all: Now I only know how to hide the menu_work and task bar at mobile 5.0 or pocket pc2003. But I have no ideal about How to hide the keyboard at these images. Could you help me for this. Thanks! Sample code: HWND hWndTaskbar = ::FindWindow(_T("HHTaskBar"), NULL); ::ShowWindow(hWndTaskbar, SW_SHOW); HWND hWndMenubar = ::FindWindow(_T("menu_worker"), NULL); ::ShowWindow(hWndMenubar, SW_HIDE); ....... I have used this API to try . But the menubar and input button(keyboard icon) doesn't hide. Sample code: HWND hwnd = GetSafeHwnd(); DWORD dwState = (SHFS_HIDETASKBAR | SHFS_HIDESTARTICON | SHFS_HIDESIPBUTTON); SHFullScreen(hwnd, dwState); // Next resize the main window to the size ...Show All

  • Windows Forms Setup file.

    Hi everybody, Anybody gimme some ideas on how to make a effective setup file to make a software based on .NET framework. Manan Thakkar wrote: Man Mark my post as Answer and close this thread. Please stop demanding others to mark your replies as answer. There is little reason your reply would get marked as you have basically given the same answer that was given two weeks ago. ...Show All

  • .NET Development Deny access to all my .mdb in a directory

    how can I deny access to download to a .mdb file in a directory and If I deny access my application can open it to read data Thanks I'm not sure if I completely understand your question, but you can make the folder where the database resides read-only for all users (except for an administrator). This will prevent any files from being copied to the folder. The Access database must then be opened for read-only access by your application. ...Show All

  • SQL Server ReportServer DB and ReportServerTempDB databases

    Hi all, Is it possible to cleanup ReportServer DB and ReportServerTempDB by setting the time interval For example, I want data in these two dbs to be deleted automatically after 5 or 10 minutes. How can I do that because as new reports are added and executed data goes on increasing in very short time and hurts performance. Thanks, Prashant Thanks for the reply ! No, there is no problem till now, but the data which is stored in tables like ChunkData, SnapShotData etc. is quite huge as many reports are running. I know, its temporary but is there any way from where I can set the time limit after which it will be cleaned up Also one more thing, if I delete a report, what would happen to data s ...Show All

  • SQL Server Pivot Select

    Hi, I'm able to get Pivot to work but I'm having trouble limiting the record set. I want it to select only records from this FiscalYear. I have a table with a field called CurrentBudgetYear that I use as a control. So FiscalYear should equal CurrentBudgetYear but my results include all FiscalYears. SELECT ProjNo, TaskCode, [1] AS P1, [2] AS P2, [3] AS P3, [4] AS P4, [5] AS P5, AS P6, [7] AS P7, AS P8, [9] AS P9, [10] AS P10, [11] AS P11, [12] AS P12 FROM (SELECT e.ProjNo, e.TaskCode, e.FiscalPeriod, e.ActualAmt FROM tblActualExpend AS e INNER JOIN tblBudgetConfig ON e.FiscalYear = tblBudgetConfig.CurrentBudgetYear )p PIVOT ( SUM(ActualAmt) FOR FiscalPeriod IN ( [1], [2], [3], [4], [5], , [7], , [9], [10], [11], [12]) )AS pvt ORDER BY ...Show All

  • Visual Basic Bitmap cannot be converted to metafile

    as soon as I have an attribute of type metafile for a component with a picturebox, things start to go awry. At first, it looks fine in e.g. the designer. But then controls that use my control can't come up in the designer anymore: "bitmap cannot be converted to metafile". I never asked for a bitmap (I think, although I do use the metafile to get an image on the picturebox) and it seems to have to do with the serialization of the control or the component (By the way, does anyone know how to get rid of the extra line feeds when copy/pasting a piece of code ) Imports System.ComponentModel Imports System.ComponentModel.Design Imports System.Drawing.Imaging <Designer( "System.Windows.Forms.Design.P ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can I play video files with XNA GSE?

    I'm not so much looking at writing a game as using this tool to develop some media applications, if possible. I've grabbed C# Express Edition and installed it, and I've watched a number of the C# tutorial videos. I'm going to have to learn C# - I've done Delphi, and Java, and some C ages ago - but I'm looking for something new, and this looked interesting. But I'm not sure I fully understand the limitations of this development tool/environment, particularly when it comes to multimedia capabilities. I like the idea of being able to target an application to a fairly well-known, easily available, consistent hardware platform. Having software that could run on an Xbox 360, with the option of using some of the Live facilities for information ...Show All

  • Software Development for Windows Vista Vista zip file problem

    I just downloaded the beta (vista 64bit english), opened the zip file but all that was there was the read me file, i couldn't see any files. The zip file is 4GB so it must contain the files, when I try to unzip it, all I unzip is the readme file. I take it there's something I'm doing wrong here... What I downloaded was a DVD image. You need software that identifies and can burn it to DVD. I used Nero burning ROM as it was bundled with my CD burner drive. I have 32bit windows but it was not a zip file. If it is named img or iso you should be able to use cd burning software or iso software like isobuster to extract and burn the conent. ...Show All

  • Visual Basic Converting colors to brushes

    I am making a program that repeatedly draws rectangles onto the screen using e.Graphics.FillRectangle in the Paint method of the form. My problem is that I want to allow the user to change the color of the rectangles using a standard color dialog, but the color dialog gives a system.drawing.color object rather than a system.drawing.brushes object, which is required to set the color of the rectangles I cant figure out how to convert between the two objects. Is there some other way I should be going about this If ColorDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then Dim br As New SolidBrush(ColorDialog1.Color) Dim g As Graphics = Me.CreateGraphics g.FillRectangle(br, 0, 0, 20, ...Show All

  • Software Development for Windows Vista very small bug with PolicyActivity (RC4)

    1°Create a Workflow project (WF Release candidate 4) 2°Drag & Drop a policy activity: add one basic rule (i.e if True) 3°In the workflow class code, BEFORE the workflow class declaration, add a simple class class Test { } public sealed partial class Workflow1: SequentialWorkflowActivity {...} 4°Compile => the compiler give you an error : in my case: Error 1 Activity 'policyActivity1' validation failed: Can not find the rule set "Rule Set1". Check if rule set is defined in the rules file. ... WORKAROUND : If the Test class is defined AFTER the workflow class, it's ok. Serge Serge, I am facing the same problem with windows. Could you give a more detailed solution as I am not able t ...Show All

  • Windows Search Technologies Secondary Intranet Search Location URL

    Unable to make this work. Primary location comes up fine(ie. the button shows up) but can't make secondary location come up. Anyone else seen this I resolved this myself...brain cramp on my part. Secondaries don't show up as buttons but rather in the "All Locations" list. Duh. ...Show All

  • SQL Server Gaining control over report parameters

    Hi All, I have not heard any news on this topic elsewhere so thought I would ask here.... I would like to gain control over parameters in terms of: 1. Parameter placement as in how many parameters on a row, not just 2. It would be nice to be able to specify a row number in the defintiion of a parameter for example. 2. Access to the parameter text via a custom assembly to support multi-langauge reports. I know other folks have talked about these things and some of us 'hope they are coming one day'...I was wondering if that day might be any closer now Thanks hhhmmm....seems like this is not happening any time soon.... Anyone heard any news about this It's been 7 months since I asked... Thanks ...Show All

©2008 Software Development Network