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

Software Development Network >> Slow Learner's Q&A profile

Slow Learner

Member List

project2n5e0o1
briendjf
Bhupesh Bareja
mfauziii
nerd_bomber
Nicolas Mueggler
LouisVanAlphen
Chris in DFW
gybin
Mike Haro
Sneh Mani Tripathi
hungryghost
Bondforever
bayito
Can-Ann
Hans1982
detzX
Matt_
IgorP
Stephie
Only Title

Slow Learner's Q&A profile

  • SQL Server Correlated subquery column referencing outer date range

    Any ideas how can I pass date range values from the where clause of an outer query to the inner correlated subquery ... without using a stored procedure because I am using Report Builder Using the simplified sql below I need the average freight charge between the dates for all of the ShipCountry's orders. (I have hard coded the dates for demo purposes only as it is these that I need referenced from the outer query's where clause.) select OrderDate, ShipCountry, ShipCity, Freight, /* how do I get to the outer query's date range */ (SELECT AVG(Freight) FROM Orders WHERE ShipCountry = O.ShipCountry AND OrderDate between '01-jan-1997' and '01-jan-2000') AS CountryAverageFreight from Northwin ...Show All

  • Software Development for Windows Vista country code of Wireless LAN adapter

    hi, here i am using deviceIOControl() API to get the country code of Wireless LAN Adapter . code is as follows.: NDIS_OID ndisOid //Atheros Specific OID ndisOid = OID_ATH_REGULATORY_DOMAIN; DeviceIoControl(theApp.m_hDevHandle, IOCTL_NDIS_QUERY_GLOBAL_STATS, (LPVOID)&ndisOid, sizeof(ndisOid) + sizeof (ULONG) -1, (LPVOID)&dwCountryCode, sizeof(dwCountryCode), &ulLen, NULL); this is working for WindowsXp, but not for Windows Vista. can any body help me in this to resolve this problem i got the information from MSDN site that it need to use WMI through the class "MSNdis_80211_WEPStatus". i have seen it through WMI browser. but not getting any relevent informat ...Show All

  • Microsoft ISV Community Center Forums MS Office document and image writer print driver

    Besides removing this feature from Office during setup, is there a process to remove this virtual printer from 300 users with roaming profiles on an active directory network We are having an issue with this printer assuming the "default printer" selection for our users. As a work around we have changed their default printer, but after they reboot or log off / on it has defaulted back to the MS Ofc doc and image writer printer. I am having a similar problem... I am missing the Microsoft Document Image Wrinter Port: But I have the driver. Anyone know how to re-install the port Thanks! Jeremy ...Show All

  • Software Development for Windows Vista Major bug in Vista File Sharing (Peer-to-Peer)?

    Major bug in Vista File Sharing (Peer-to-Peer) Description: Microsoft Vista will lockup when more than one Vista workstation attempts to access the same file in a shared folder at the same time. Steps to reproduce: 1. Install a new copy of Vista (Does not matter what version) on two different computers. 2. Install a new copy of MS Office 2003 each computer. 3. Share the Public folder on one of the machines so that other computers can access it. (We will call this Machine A). 4. On Machine A, create a new MS Word document in the Public folder and leave it open. 5. On Machine B, browse to the network share on Machine A and try to open the same Word document. MS Word will freeze and will not come back until the file is close ...Show All

  • Visual Studio 2008 (Pre-release) ListViewItem w/Context Menu

    I hope this isnt a dumb question, but I'm hoping someone can help me understand the expected behavior of right-click in a ListView. Here is the problem: If you have a context menu on a ListView in Multiple or Extended selection mode a right click to bring up the context menu will toggle the selection. I have mocked up a small repro using the ListViewCheckBox example in the SDK. I've inlcuded the modified XAML and the unchanged codebehind. All I did was add a contextmenu to the listviewitem. How to repro: 1. Select Multiple items 2. Right click on a selected item to bring up the context menu. This action will toggle the selection to unselected. The item is no longer viewable in your collection. Based on my observations the WP ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Reading embedded files

    Hi, i've added a .xml file to my xna project for windows, i've set it to be an embedded resource, how i can i them read the file n e attempt i make seems to try to read a file from the hdd or from a url many thanks You need to use the System.Resources.ResourceManager class. For example, System.Resources. ResourceManager temp = System.Resources. ResourceManager ( "MyGame1.Properties.Resources" , typeof ( Resources ).Assembly); object obj = ResourceManager.GetObject( "foo" , resourceCulture); byte [] myFileCalledFoo = (( byte [])(obj)); Since you embedded an XML file, it was probably embedded as a string rather than an unknown file (which is byte[]). Your ...Show All

  • Software Development for Windows Vista How to establish swimlane!

    hello all! can i create a swimlane which present a role that controls a bussiness function permissions and controling the limits,like UML Activity Diagram. thanks . Matt in my mind, UML partitions (or swimlanes) are very similar to roles( http://windowssdk.msdn.microsoft.com/en-us/ms741722.aspx So using WF roles in sa equence or a state workflow could help you I don't know if that helps... ...Show All

  • SharePoint Products and Technologies Accessing data in lists and libraries in a state machine workflow

    I'm currently trying to develop a state machine workflow in VS2005. For this workflow I need 2 data sources: data from the current form item for that this workflow was started (it's an InfoPath document in a form library) and data from a specific dataset (can be identified by a specific field in the list) in another list on the website How can I get access to this data I need it for the workflow to identify which user has to get a task assigned next and in the end I need the list to be updated with the results of the workflow. Thanks in advance ;) Hi Uwe82, Not sure about the second point, but for the first, when I did this I did: // Get the form ListItem in the Library SPWeb myWeb ...Show All

  • Smart Device Development Will different network providers affect my codebase

    hi, This is query regarding different network providers for the devices If I am targetting motorola Q device, which is available with Alltel, Sprint, Verizon Wireless. What guidelines i need to follow to support all of these. Or there is no issues with different carriars. thanks in advance Rashmi Todkar There should be no differences with different carriers when writing a NETCF program if the device is properly configured to connect to the appropriate network. In general, you can test this by seeing if you can hit the server that you want to access through the browser. If this works then your NETCF program should also work. Thanks, Sandy ...Show All

  • Visual Studio Best way to design report based off xml data

    Any suggestions on the best way to design a report based off of xml data I have xml data as well as the xsd for the data. I want to create a report (rdlc) using the ReportViewer control based off of this data. How do I go about creating a data source that is based off the xml data or xsd so that I can interactively define the data fields in the report controls ...Show All

  • Windows Forms Customer control inheriting from System.Windows.Forms.Control can not input Chinese and Japanses.

    Hi all, I create a customer control inheriting from System.Windows.Forms.Control. If I input chinese or Japanese, all word in Chinese or Japanese will be duplicated. :( I override OnKeyPress method, and find that there are two message boxes pop up. It means OnKeyPress has been called twice. So strange. protected override void OnKeyPress( KeyPressEventArgs e) {     base .OnKeyPress(e);     MessageBox .Show( "Key Press" ); } I try to inherit from System.Windows.Forms.UserControl, too. But I find that when I swith to Chinese and Japanese IME, it is disable totally. BTW, I am using MS IME. Could anybody here give me some advice Thank in advance. Best regards, Deep ...Show All

  • SQL Server Moving Reporting Services

    I have reporing services in serverA, and i want to move all the reports to a new server serverB. ServerA ---Sqlserver2000, operating system windows2000 adv server ServerB ---Sqlserver2005, operang system windows2003 server. Is it true that i have to detach the db from one server and attach it on another. If this is corect what are the other steps i need to do after moving. please advice Thanks in advance When you install RS on the new machine (SQL RS 2005) you will want to select the option to configure your environment after the instal. You will then go into the RS Configuration Manager and choose the database that you attached to the system. if you are wanting to upgrade your reports from RS2000 to RS2005 you ...Show All

  • Visual Basic Same Settings for all USERS

    Hi. My question concerns settings class. I have a application in which i need to get/change/store settings for all users during runtime. If one user changes a setting then that setting should be changed for all users.   Is there anyway to make settings apply to all users The users working with the app, all have their own useraccounts in win. Kind Regards Alex  I concur. This is an annoying little problem for our current project. We have application wide settings that we do not want any of our users going into the app.exe.config file to change. We want to give them an interface to control all access to these settings. But it seems as though MS has taken this control away from us as well. I do not und ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Effect.FromFile IndexOutOfRange exception

    Hi all, I am trying to load a shader using this code: private Effect LoadShader(string filename, List<string > defines) { Effect effect = null ; if (File .Exists(filename)) { Macro[] macro = new Macro [defines.Count / 2]; for (int i = 0; i < defines.Count; i += 2) { macro[i / 2].Name = defines ; macro[i / 2].Definition = defines[i + 1]; } effect = Effect.FromFile(m_Device, Config.ShaderFilename, macro, null, null, ShaderFlags.None, null ); } return effect; } At line effect = Effect.FromFile(m_Device, Config.ShaderFilename, macro, null, null, ShaderFlags.None, null ); the app throws IndexOutOfRangeException. All parameters are valid and I think i ...Show All

  • Visual Studio Relative Path="..\..\" in VS2005 .vcproj file able to load from VSS but not check in/out.

    This is the structure I have in VSS (6.0d): $/Solution/solution.sln $/Project/project.vcproj $/Tools32/Include/include.h After I open the solution.sln through VSS in VS2005, it loads the project.vcproject with all dependencies. It loads "include.h" from VSS, however, I'm not able to check in/out this file from VS2005 UI. the include.h file is referenced in the the project.vcproj as: <File RelativePath="..\..\Tools32\Include\include.h" > </File> Is there a way to fix this Thanks! Alin, I used your advice to get going. I still had to manually edit the .sln file to change all the projects in my solution to correctly bind. Thanks, ...Show All

©2008 Software Development Network