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

Software Development Network >> super-code-prime's Q&A profile

super-code-prime

Member List

Matt Fraser
StephenMas
c699976
ScottRitter
Jassim Rahma
TJack
Tryin2Bgood
rbedard
EsteemDE
Attila Fogel
coolcoder
AYK
LSS
joynerCN
pkhannah
KleMiX
lebedinsky
Kim Brandt Jensen
dbcuser
linzbfc
Only Title

super-code-prime's Q&A profile

  • Visual C++ DeviceIoControl FSCTL_ALLOW_EXTENDED_DASD_IO returns false

    Hi, CString str = \\\\.\\CdRom0 ; hCD = CreateFile (str, GENERIC_READ| GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); status = DeviceIoControl(hCD, FSCTL_ALLOW_EXTENDED_DASD_IO , NULL, 0, NULL, 0, &returned, NULL); The above DeviceIoControl returns false. Any one knows what , I am doing wrong. I tried this above after ReadFile failed for some sectors of a file in a single file CDROM. This happened when I tried to copy the file, it gave device I/O error. Thanks, Arun For such issues, a bett ...Show All

  • .NET Development Visual Web Developer 2005 Express to MySQL

    I am trying to create a simple CRUD form using VWD express edition on a table under MySQL. The table has a primary. When I get to the "Advanced SQL generation Options" dialog box to generate the insert, delete, and update statements, both options are disabled. I tried to select the * then tried to select the columns but nir results Note: The table has a composite primary key. Any feedback will be greatly appreciated. Thanks The Visual Web Developer forum, http://forums.asp.net/175/ShowForum.aspx , or MySQL forums will be better able to answer this question. Thanks. ...Show All

  • Visual Studio Express Editions about array?

    hi there i have a problem regarding array....here's the situition i'm supposing to count a number of area... so i used select command count to count... i want is to compute all the number of area and put the result in textbox...(each result has seperate textbox)  txtbox1, txtbox2 and txtbox3... in my code below the dataset overwrite the result instead of to retaining and print the result of area(1) and area(2)...   dim conn as new oledb.oledbconnecion("connectionstring") dim area() as string = {"area1","area2","area3"} dim i as integer for i=0 to 2 dim sqlcom as new oledb.oledbcommand("select count(*) from table where area ' " & area(i) " ' ", connectionstring) dim ds as new dataset() 'whe ...Show All

  • Windows Forms Throttling a Windows Form Application

    I have a Windows Form application that implements both BackgroundWorker and standard Threading. System.ComponentModel.BackgroundWorker System.Threading.Thread The BackgroundWorker objects are used to update the UI. The classes I made that run the long processing are threaded and have events that are raised as updates are made and when the threads complete. The BackgroundWorker sits and waits for these raised events, then updates the UI so the user can see the progress. All pretty straight forward stuff. I want to take this to the next level and implement processor throttling. Some of these actions can take many minutes, while potentially others could take hours. I want the machine to continue to be usable by other processes. The a ...Show All

  • Visual C++ F1 help -> "Inforrmation Not Found" ?

    The online help seems to show me the "Information Not Found" page quite often, even for things that it seems to find.  For example, in a .c file I hilight "EnableMenuItem" and hit F1.  I get the "Information Not Found" page, but down in the "Index Results" window it shows 1 topic found, and I just have to click on it, and then it shows up in the main help window.  Why doesn't it just display this instead of telling me information not found Maybe I don't have something configured right   Any help would be great. Thanks, Mark Beiley Software http://www.beiley.com Is there a newer Windows SDK than the one that comes with VS2005 available now that we can download that w ...Show All

  • Visual Studio Team System XML report does not show excluded and absent messages.

    Hi all, I have an FxCop project with certain active, excluded and absent messages but while I save the report, the excluded and absent messages are not saved in the XML. Only active message are saved. The option in project default for excluded and absent messages are checked still the report doesnot contain excluded and active messages. I want all the messages in the report. Please anybody help me in solving the problem.Thanks in advance. Hi David, Yes i had checked all the six boxes and tried creating a new project.i am unable to achive,In Fxcop it is showing but in report it is giving only Active messages. Regards, Phani ...Show All

  • Visual Studio Team System Enabline Project Alerts

    One of our developers is having trouble enabling the "My work items are changed by others" project alert (the check box does not get checked). He is able to check the other alerts just fine. Can you tell why Thanks, Maggie What's your display name in TFS Based on another thread, your display name (mine is "James Manning") may contain a character causing a problem (apostrophe in the other thread). http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=431706&SiteID=1 ...Show All

  • Visual C# Dispose a whole form

    Hi, How can i dispose a whole form when it is closed with all its variables and especially the array ones. Because now, when i close it and want to start another kind computations it opens the new form with the controls but some labels are still marked green or red from the previous session. Its a project that has 2 forms. One form starts the other after a button is pressed. Thanks in advance! Hi, Thanks for your reply. The forecolor of the labels are either green, red or black. This program is to help the kids making sums. When the answer is wrong, the label will be marked red, if its good, it will be marked green. But default is black this is my onclosing event: private void FrmCalculate_FormClosing(obj ...Show All

  • Windows Forms VERY simple question about fonts.

    Someone should be able to answer this fairly quickly. I wish to make the text in a label control BOLD through code at runtime rather than at design time. Can someone please explain how. Thank you. Found it. Font F = new Font("Microsoft Sans Serif, 8, FontStyle.Bold); Label1.Font = F; Thanks anyway! ...Show All

  • Visual Basic Please Help me with my ComboBox columns

    Hi I have a DataGrid with ComboBox columns. I want the same thing to happen as when a user clicks and chooses an item in the ComboBox. When a user stands in the last row (new row) and clicks for choosing an item, a new row appears beneath. I want the same thing to happen when a user types in what he wants, as what you can do in Access ComboBoxes, and when he leaves the ComboBox a new row appears. Is there a way to make that happen   I have tried to explain my problem in so many questions; I hope I got it right this time.   Fia If you are using the DataGridView in VB 2005, you can handle the "CellLeave" event on the data grid view which should fire w ...Show All

  • SQL Server Package Runs in 1 minutes in Visual Studio but takes 5+ (sometimes hanges) as Job

    I have an SSIS package that when run from Visual Studio takes 1 minute or less to complete. When I schedule this package to run as a SQL Server job it takes 5+ and sometimes hangs complaining about buffers. The server is a 4 way 3ghz Xeon (dual core) with 8GB ram and this was the only package running. When I look in the log I see that the package is running and processing data, although very very very very very slowly. Has anyone else experienced this Thanks for your help Marcus I don't klnow what is going on with my system. The above package has ran find since I posted this message. I'm now having issues with stored procedure that is being ran from a job. I can run the SP from Manage ...Show All

  • .NET Development TCP Listener on active website?

    Can someone direct me to a tutorial on how to implement a TCP Listener on a website I need to listen for incoming TCP connection requests on a third-party-hosted (GoDaddy) website. I understand how to write the .aspx web pages, but how do I "run" my underlying application code I need to capture the incoming TCP packets, store them in an SQL database, and use this data to determine what information to display on the .aspx pages. I'm a bit confused about the basic architecture of running the app vs serving up the .aspx pages.... Pointers welcome! Genreally you don't run "Apps" on web server that are exposed to the world. if you have a TCP Server, you need to make sure that the port o ...Show All

  • Visual Basic Not able to save data to database

    I am thinking that this is actually a very easy issue, but I can not figure it out and am hoping someone can help me. I have a database setup with no data yet. I am able to connect to it and everything fine through Visual Studio/VB 2005. I built a Windows form that I want to use to Add records to a table. I followed examples from books on doing this by taking the "Data Sources" table and dragging it onto the form. When I run the the project, the form comes up with the add record button active. I click that and add data, skipping over the auto-increment field. The Save Data icon never becomes active and if I click on the Add New icon again, I get an error about the auto-increment field not being allowed to be null. When I ...Show All

  • Architecture Data Access layer generation tool query

    Hi Everybody, I am evaluating on various optimistic locking mechanisms for implementation in a DAL code generating software. First Approach : All column based locking .I see following demerits: 1.Can't compare CLOB and BLOB columns 2. Every column of the database entity(table) should have a value set. 3.We have to preserve the old values so extra memory overhead. Second Approach: Timestamp column based locking : I see following demerits: 1.If we go for timestamp based locking ,then we have to create an extra column or an extra table for timestamp of all tables.I think by introduction of rowversion in sql server, the problem of extra column is solved now atleast for oracle and sqlserver.Not sure about access a ...Show All

  • Smart Device Development Info for DirectX on WinCE 5.0

    I am researching which fast graphics engine I can use for devices running Windows CE 5.0 and higher. (note: i am not referring to winmobile devices like the PPC, etc, but generic CE devices). Can anyone tell me the following: 1. Does DirectX support ALL generic CE devices v5.0+ 2. Does DirectX come pre-installed on these devices If not, can I redistribute DirectX easily as part of our installation 3. If it does come pre-installed, is this something that the hardware vendor must guarantee for us Or is it "just there" as part of the base CE operating system 4. Are there licensing concerns for using DirectX on WinCE devices 5. Technically, what modules are required for DirectX to be used What d ...Show All

©2008 Software Development Network