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

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

Xi0N

Member List

Nisa
winterxu416
CharlieRussell
Anpiro
Bwilhite
ADHDsowhat
OFCWIl
JNils
Philippe Cand
Michael J. O.
xRuntime
Ricardo Rivera
lol1988
Lars F. Nielsen
Noah Nadeau
__alex
Nils VG
kayers
Smitha R
dotnetwizkid
Only Title

Xi0N's Q&A profile

  • Software Development for Windows Vista Windows Resource Protection

    hi all, there is an API sfcIsKeyProtected to determine if a particular key is protected or not. what is sfc in that API what is the full form of it and what does it mean apart from a dll. and is there any way to disable WRP in vista where we can see the WRP in vista regards, divya thanks mathew, i want to know the meaning of that API.. what is the full form of "sfc" in that regards, divya ...Show All

  • Visual Basic First chance 'system.invalidcastexception"

    A first chance exception of type 'System.InvalidCastException' occurred in Microsoft.VisualBasic.dll In the immediate window, I keep getting up to 6 of the above exceptions. The program runs normally. They seemed to start appearing when I write e.graphics..drawstring code. I don't know if that has anything to do with it. What would be a common cause of these exceptions The above tells me nothing. Try setting Option Strict ON. The exception you are getting indicates there is a problem with casting a value between types. Option Strict will help identify type casting issues at compile time rather than run time. Jim Wooley ...Show All

  • Visual Studio Created Items not accessible even after target exits (MSBuild Tasks Properties attribute)

    The Project File < Project xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " DefaultTargets = " foo;bar " > < ItemGroup > < X Include = " 1;2;3;4 " /> </ ItemGroup > < Target Name = " foo " > < MSBuild Targets = " little_foo " Properties = " P=%(X.Identity); " Projects = " $(MSBuildProjectFile) " > < Output TaskParameter = " TargetOutputs " ItemName = " Z " /> </ MSBuild > < Message Text = " [foo] @(Z) " /> </ Target > < Target Name = " little_foo " Outputs = " @(local) " > < CreateItem Include = " $(P) " > ...Show All

  • .NET Development Code Access Security

    Hello All. I'm starting work on a Windows Forms application -- still in the design stages -- and I'm at the point of laying out the security considerations. The anticipated deployment scenarios are: 1) Distribute the .msi package via Web or removable media 2a) Deploy to a single client machine, or 2b) Deploy to a LAN, either client/server or peer-to-peer. My security question pertains to the LAN deployment scenario. Now, I'm making the assumption that a standard user on a LAN will very likely be running under the "LocalIntranet" permission set, which forbids calls to unmanaged code. However, the Application.Exit() method requires permission to call unmanaged code. Now, as I see it, I can do one of several th ...Show All

  • SQL Server Shrinking the Log file on a DB that is mirrored

    Hello, I'm having couple of DB that are mirrored. my concerne is regarding the Log file size. I'm running the following steps: BACKUP DATABASE [DBName] TO DISK = N'Backup_File' WITH NOFORMAT, INIT, SKIP, NOREWIND, NOUNLOAD, STATS = 10 then BACKUP LOG [DBName] TO DISK = N'Backup_File' WITH NOFORMAT, NOINIT, SKIP, NOREWIND, NOUNLOAD, STATS = 10 if I try to run a SHRINKFILE (DBName_log, 20) I receive the following info: Cannot shrink log file 2 (DBName_log) because all logical log files are in use I'n a bit tense using a BACKUP LOG [DBName] WITH TRUNCATE_ONLY as it's part of a mirroring. but I need to reduce the size of the log file. thank four your suggestions Eric ...Show All

  • Windows Forms Accessing objects on a form via a class

    I have a form with a text box and I need to access the textbox and some other events within the form class from a seperate class. How can I get access to that textbox The form is making a call to a method within the class class.getCommand(command); and then the getCommand method needs to be able to modify the textbox within the form. Any suggestions would be great! Thanks! Scionwest Thanks, I tried something similar to that already but the method is going to parse a couple houndred different commands and do something different for each one. I want to break them down into manageable pieces of code within a class.  Will something like the following work FORM class: pub ...Show All

  • Visual FoxPro extract data

    Hi, i have some dbf file which are I dont know their content. I try to import data to access but give me error. I search lot but cannot find a solution. Finally i try to open connection foxpro dbf file using java jdbc.odbc, connection is ok. But the problem is i dont know internals of this dbf file, which columns they have etc... Also i dont know about dbf files. Are dbf files normal databases, i mean they contains tables, tables contains columns etc. My question is which queries do i have to use to learn internals of this file. By this way i can import data to a text file , maybe. Thnx. Hi If you just want to see what's inside, a simple viewer is enough: http://www.totalcommander.hu/down/nezokek/dbvie ...Show All

  • Smart Device Development is there any API to know the windows based mobile name?

    hi, i'm doing a small propject on i-mate sp5 windows based mobile phone. I tried very hard to obtain the device name "i-mate sp5" through some apis but everything in vain. i need an API or a method that tell me the device's name.Could anyone help me out in this regard i would greatly appreciate your help thanking you http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1021230&SiteID=1 ...Show All

  • Visual C++ Hiding Folders

    hi all i m writting a software for Documents mangaments and i want to hide the folders containg the documents, what my aim is that Anobody could not see the files from respective Folder even the administrator, i hadd found a software on the internet that hides the files and folder i mean thase are not shown in the drive,but i m able to read and write through my code without the password or any thing like that, how to hide the folder so that its icon is not visible.any help is welcomed. You can make use of SetFileAttributes function ...Show All

  • Windows Forms Problem with changing text in a label

    Hello people. I have a little problem. I am trying to change text in a label depending on what item is selected in a listBox. Here is my code so far: private : System::Void listBox2_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) { if (listBox2->SelectedValue->Equals( "High Elves" )){ this ->label1->Text = L "19" ; } } Now i thought that this would work, but the text just stays as label1. Any ideas Hi, What you have said is absolutely right. The below mentioned code should work perfectly fine because i have just tried the same code and it worked for me!! Weird though... if (listBox2->SelectedItem->Equals( "High Elves" )){ Bhanu. ...Show All

  • Microsoft ISV Community Center Forums Output Parameter in Excel VBA

    Hi, I am using Sybase Database. There is a stored proc having an output parameter. I need to write a macro to execute the proc and retrieve the output value. I know how to create a connection, but I dont know how to execute the proc. Kindly help Subhojeet You ned to use the AxtiveX Data Object(ADO) model. Use the Command object which allows you to use the 'execute' method after passing items to the 'paramters' field. See the Code Librarian on the Office Developers edition for plenty code example. Come back if you don't have access. Robert, Edinburgh ...Show All

  • Software Development for Windows Vista DVD format of Vista not readable on XP

    Hi there I installed Vista and did a backup of my files with the build-in burn function of Vista. I can't read the DVD on WinXP, is it possible that Vista uses a new format that XP can't read If yes, are there any solutions thanks for your answers! mike ...Show All

  • Windows Forms deselcting text in combobox textfield after selectedindex has been changed

    Hi, I would like to deselect the text (i.e set the cursor at the end, no highlighting) of the textfield in a combobox after an index has been selected. As it is now the item that has been selected its text is also highlighted. The functionallity I'm looking for is that after an item/index is selected the user should be able to add text to the combobox's textfield without placing the cursor last and deselct highlighted text. I've tried Combobox.Select(Combobox.Text.Lenght, 0) in the Combobox_SelectedIndexChanged event, but No Luck Any Suggestions I'm not sure but it could be a bug as it should unselect the text when you set the selection properties to 0. The only work around I've been able to find is ...Show All

  • Visual C# Datagrid - unbound

    VS 2005 std. Using an unbound datagridview that has 5 columns, when columns 1,2 or 3 change I want to show the total for columns 1+2+3 in column 4. Column 5 is a tickbox, how can you tell if its ticked or not. Thanks in advance. This worked fine try { double Col1 = double .Parse (dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString ()); double Col3 = double .Parse (dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString ()); double Col4 = double .Parse (dataGridView1.Rows[e.RowIndex].Cells[4].Value.ToString ()); double Col5 = double .Parse (dataGridView1.Rows[e.RowIndex].Cells[5].Value.ToString ()); double total = ((Col3 * Col4) * Col5) * Col1; dataGri ...Show All

  • Windows Forms [c#]datagridviewcells value before insert in db

    Hi again. On unbound datagridview on a form made with designer, i put some values in cells and with a command button this values are stored in database. Now, how can i control before the insert, if some values already are stored in the database For ex.: my values in cells are: row[0]:  1    5    7 i need to control before insert that in the table of db, at relative column and row, that values are already stored and so, i need to prevent user to create a new row in database. I cant bind datagridview with table before insert because i need to set the rowcount property of datagridview, which is not possible with bound dgv. Is it possible Thx a lot. Hi :) I've already the h ...Show All

©2008 Software Development Network