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

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

bluemoon2181

Member List

danni123
kart
MgManoj
Michael Dickens
IgorP
lord_8
Wheelieron
Javfarary
whatupboo
nbozic
zenox
peter_s
Kutlu Araslı
Janxels
jcnconnect
GregRyanLorenz
FP725
JanMichiel
AndyWillig
RussP
Only Title

bluemoon2181's Q&A profile

  • Visual Basic How to launch Windows Explorer with a special path

    I want so launch an Windows Explorer Window wich shuld show a choosen directory and select a file in this directory. But how S_A_S, Try the method show in thhe following link that uses VC++ 6. Maybe it is hard to implement in VB.NET and this would be a solution: http://www.codeproject.com/macro/projectexplorer.asp ...Show All

  • Visual Studio Express Editions open new form

    i need the open new form code. it looks something like this: "Dim clone new form1" the open,save dialogs work.. and now i get it about the .txt.. if you save it as a nothing file my program loads it.. when it's a .txt it doesn't open it :) ...Show All

  • Visual C++ API differences between Win2K and XP?

    A C++ application I developed on XP reportedly crashes when run under Win2K. Since I don't have Win2K, is there an easy way to locate the possible culprits, like a list of SDK functions that are new to XP or have changed since 2K My program relies solely on the standard Windows SDK--no ATL, no MFC, nothing managed. Thanks in advance! Thanks for the suggestion, I'll give the crash dump a try. (As you guessed I have no access to that computer.) However does that mean that there is indeed no "what's new " or similar list for the Platform SDK It might be useful to find out more about this so instead of patching problems I can prevent them from happening in the first place. Oh, and a happy new year ...Show All

  • Visual C# Issue with user impersonation and Processes ! - Medium

    Hi, I am wirting a program to execute a process under a user (B's) context ie. by impersonating a user. Assume Im the user (A).Following are the steps I have followed : 1. Created a WindowsIdentity object using the new user's user name and password i.e. user (B). 2. Impersonated the user (B) using WindowsImpersonationContext class. 3. Create a new Process object to start the command prompt (cmd.exe) and pass the arguments as "/c C:\ConsoleApplicaton1.exe". 4. The ConsoleApplication1.exe is a C# console application. This application gets the current WindowsIdentity and displays the name. WindowsIdentity .GetCurrent().Name; When I execute this program, the command prompt gets opened and the user name appears (A). Idea ...Show All

  • SQL Server Loading BLOB's to Database

    I have the file with binary data on my hard disk. Also I have the table in the database with image field. I want to load binary data from file to this field. Does any body know how can i do it I want to do it using only T-SQL, without any # (etc.) coding - only sql script is properly. ...Show All

  • Visual Studio Express Editions Help listing price from ListBox into txtbox

    I'm trying to figure out how to choose a item from the listbox and display the price in the textbox Thanks see i hv given the code for listbox items from database..try this.. Imports System.Data.OleDb Public Class Form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose( ByVal disposing As Boolean ) If ...Show All

  • .NET Development .NET framwork 3.0 (x64) installation error

    Perhaps one of you have an answer. I am getting an error when installing .NET framework 3.0 (x64.) The error actually comes in two separate error boxes but at the same time. Error #1 reads "Unable to load Sitesetup.dll. Setup cannot continue. Error #2 reads "The application failed to initialize properly (0xc0000006). Facts: My computer is running WIN XP x64 on an AMD64 processor. I have successfully installed NET framework 2.0 ( I do see it in Add/Remove programs.) When trying to install the program NET Framework 3.0, called "Dotnetfx3_x64", I got the above errors. Please help me as I am at a complete loss right now. Any help would be greatly appreciated. d- Thanks for the repl ...Show All

  • Visual Studio Task List

    I put some tasks in the Error List Window by the following code: VCCodeFunction m_intern; m_outwin.OutputTaskItemString( m_Intern.File.ToString() + "(" + m_Intern.StartPoint.Line.ToString() + ") ", vsTaskPriority.vsTaskPriorityMedium, vsTaskCategories.vsTaskCategoryComment, vsTaskIcon.vsTaskIconComment, m_Intern.File, m_Intern.StartPoint.Line, m_Intern.Name + " has an undocumented return value." + Environment.NewLine, true); The message appears in the Error List Window seeming correct shwoing the file and the line of the function. But is not possible to jump to the source by double clicking on the item. What is going wrong ...Show All

  • SQL Server KPI's - getting the second last value

    Hi, I have set up a LastNonEmpty measure to get me the most recent reading for a KPI. For example, ( [Measures].[Last RESULT], [Production Units].[Dim Production Units].[Plant 1], [Prod TDV Params].[Dim Production Params].&[CO2] ) gets me the last recorded CO2 reading for Plant 1. Now I need the trend expression - is there a sneaky way to get the second last value without creating a new measure Thanks. Well, one way that I can think of is to define a named query or view for the fact table, which filters out the most recent reading for fixed values of other dimensions. Then a 2nd measure group with a LastNonEmpty measure could be created on this filtered fact table, to get t ...Show All

  • Visual C# How can I know whether the app is running in development mode?

    Some of the features included in the application I'm currently developing are supposed to be used in 'administrator' mode, but, in fact, the only administrator is the developer and it's likely that none of these will be used by final users. Therefore, instead of defining a particular user to be the administrator, why not letting the application to know wheter it is running whithin the development environement or as a standalone, compiled application I remember a property like this was exposed in VB6, and I assume it is also included in the .net environement, but after some time of messing with the object browser and the internet, I give up and ask for HELP! Where can I find this property ...Show All

  • Visual Basic How to use a custom class?

    I have just created a new class: Public Class ColunaM80 Public Quantidade As Integer = 1 Public Altura As Integer = 0 Public Chapa As String = "14" Public Corte As Integer = 200 Public Material As String = "# COS CIVIL" Public Acabamento As String = "PINTADO" Private p_chapa As Double Private i_M80 As Double ReadOnly Property Peso() As Double Get Peso = Quantidade * PesoChapa * Corte * Altura End Get End Property End Class This class was written in the same project I trying to use it, and when I write something like: Dim Col01 As ColunaM80 Col01. it doesn't shows up the pr ...Show All

  • Visual C# Create a library that work with int that have whatever dimension i want

    I created a class Int that work with integer value  that have very big dimension(256,512,1024 bits.....) , but i want that normal int (when i write int , in declaration of a variable or as parameters of a function ) to work like my Int ( to overload tipe int). Can somebody tell me pls how can i do that Pls! Thank you! You can't replace the "built-in" int type (unless you build your own compiler). You can create your own int type, but since int is a keyword you'd have to escape it like @int. ...Show All

  • Visual C# Converting Float to 32bit Integer(Hex)?

    I need to convert Float value ( 0.1 as example ) to Hex (32bit) value (0x3DCCCCCD). How can i do it Hi, AFAIK, hex can be converted for "integer part" only. Its base 16 number and starts with 1 onwards... So i really have a doubt that logically its possible or not! Figo Fei, you suggested to write code for it but if you know, please tell me that how a float can be converted into Hex logically Thanks, ...Show All

  • Visual Studio 2008 (Pre-release) June CTP features

    Hi Could you give me (or where can I find all) some of the extended features that are provided in june CTP. Thanx-Nagu Hi, Transparents Windows are a feature available since the June CTP. And currently, you need to set BorderStyle to None so there are no aximize/Minimize/Close button. ...Show All

  • Windows Forms Windows Time in a TextBox control

    How would I go about retreiving the Windows Time and displaying it in a textBox (And can it be displayed in military time Standard time ) Common: Now.ToString("h:mm:ss tt") Military: Now.ToString("HH:mm:ss") With apologies to the rest of the world... ...Show All

©2008 Software Development Network