markand's Q&A profile
Visual Studio Express Editions Need Advice To Build V6 Program with Strtok Deprecation Errors
Hi, I have a program reportedly compiled with VS C++ V6 that I need to compile, (no using the new VS C++ Express. The only major error message preventing the build come from deprecation of the strtok() commands in the program. I have searched all over the internet, and gotten advice to swith to strtok_s or turnoff the deprecation. I can't find a step by step detail instruction on how to turnoff deprecate in VS C++ Express, nor can I find any step by step conversion instructions for a replacement command that works. For example, if I do what the compiler says, change the strtok to strtok_s or _r even the resulting build does not even recognize the commands. I am hoping that this is a simple matter for the experts among you. I just don't ...Show All
Visual C# DataGridViewComboBoxCell value is not valid
hello to all i have a problem with DataGridView, when i have created a column "DataGRidViewComboBoxCell" : DataGridViewComboBoxColumn colStGruppi = new DataGridViewComboBoxColumn(); colStGruppi.DataPropertyName = "idStGruppoMerce"; colStGruppi.DisplayMember = "GruppiMerce.Rel.Descrizione"; colStGruppi.ValueMember = "GruppiMerce.Rel.idStGruppoMerce"; colStGruppi.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing; colStGruppi.DataSource = ds; this.gvElementi.Columns.Add(colStGruppi); This is my error; DataGridViewComboBoxCell value is not valid why Tanks Hi, Make sure that all the columns' name do exist in the table of the DB. If idStGruppoMerc ...Show All
.NET Development Smtp Server Authorization
I found out that i’m not only one who has this problem. It seems Credentials in SmtpClient not works for everybody. When i use HOST: mail.hotmail.com, RECIPIENT: someone@yahoo.de (host and recipient domain are different) and the SMTP server requires to authenticate sender, this code should help: Dim mySMTP As New Mail.SmtpClient( "smtpserver" , 25) mySMTP.DeliveryMethod = Mail.SmtpDeliveryMethod.Network mySMTP.UseDefaultCredentials = False mySMTP.Credentials = New NetworkCredential( "username" , "password" ) mySMTP.Send(myMessage) But is NOT working! Why I try more different host and recipient domains and each requires standard authorization (username, pass ...Show All
SQL Server SQL 2005 __Back-Up automatation__
Hello, i need to make an ASP.NET webpage to administer a sql server 2005, So one of the user options in this page is -> Back Up Server DB So then i will run an script or something else to make the backup. Can anyone tell me someway to do this (suggest, links, docs, will be apreciated ;-) Thanks... Andrew Tara Kizer has an amazing DB Backup stored procedure you can view on her blog here; http://weblogs.sqlteam.com/tarad/archive/2004/08/04/1876.aspx You could then call this stored procedure from your asp.net web application. hth Barry Andrew ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Q: How to get a job behind game music ? ?
Hey guys/gals, My names Jeff. I'm a musical programmer/composer that is very interested in working with any Dev. co. on music for a project. I AM a proffesional with sound clips ready as proof, and have been a gamer since the age of 6. If anyone has any info to help me out on this topic, I'd greatly appreciate it. Thanks! J Try the indie game forums http://forums.indiegamer.com/ or gamedev http://www.gamedev.net/community/forums/forum.asp forum_id=19 (please read their FAQ first before posting general questions like yours as its probably been asked thousands of times) ...Show All
Visual Basic name 'c' is not declared
I am trying to create a form using Visual Studio 2005 Pro - and I get this message: name 'c' is not declared My code looks like this: Public Class Form1 Private Sub ReadXmlButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles ReadXmlButton.Click Dim filePath As String = C:\ReadingXML AuthorsDataSet.ReadXml(filePath) DataGridView1.DataSource = AuthorsDataSet DataGridView1.DataMember = "authors" End Sub Private Sub ShowSchemaButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles ShowSchemaButton.Click Dim swXML As New System.IO.StringWriter() Au ...Show All
Visual Studio Team System Compare and Sync functions from SSMS
Is there a proposal to integrate the Comparison and Synchronization functionalities in the SQL Server Management Studio This will help the DBAs work with a single interface. If yes, when can we expect the same When it comes, will there be a price attached to it Appreciate your response. I don't think so. If Schema and Data Compare are included in SSMS and the project accessibility into all versions of VS (even just VS Team Editions) as has been heavily requested and has much more reason to be done, then what is left for Data Dude The original premise of Data Dude was to move database development out of SSMS into a developing environment with project and source control. The original premise of all Team ...Show All
Software Development for Windows Vista Is Sequential workflow can be a base workflow and can we access methods inside that by inheriting
Hi, I am trying to acheive Pure XAML in ASP.Net. The steps in my work 1. I had one Sequential WorkflowLibrary which is having code as shown below.I have removed sealed to make that inheritable. public int testCondition = 0; public void If_Exec( object sender, EventArgs e){ MessageBox .Show( "If Executed" );} public void Else_Exec( object sender, EventArgs e){ MessageBox .Show( "Else Executed" );} 2. I took one more workflowlibrary with sequential workflow with code separation(Workflow1.xoml) file. I have removed workflow1.xoml.cs file and Set the base class as Previous worklflow by adding reference. 3. Now I Placed IfElse Activity in Workflow1.xoml file. I placed 2 ...Show All
Internet Explorer Development asp.net 2.0 application with Master Page does not display properly under ie7
I have an asp.net 2.0 application which when viewed on internet explorer 7 does not display properly. There is a footer that tends to appear in the middle of the screen, which was previously at the bottom, and also when grids appear and have enough data to scroll down the screen, the footer and the outline of the content page do not move down to accomodate this. I tried some recomendations from the ie7 site, but couldn't get it to work. Also this is specific to one website, others using a similiar setup work fine Any thoughts on where I should look next regarding this Have you tried moving swapping the order of these 2 tags </ div > < uc2 : Footer ID ="Footer1" runat =" ...Show All
Microsoft ISV Community Center Forums i want a code for file transfer by ws2_32.dll library
i am using vb6 and i am searching for a code for client and server for file transfer using ws2_32.dll library ...Show All
Windows Forms Datagrid results not emptying
I have a datadridview that is being used to return the results of searches. However, I am having trouble with the datagridview not clearing the previous search results. For e.g. if I was looking for the name SMITH previously, al the SMITH will get displayed again even when the current search is for JOHNSON. I tried using combination of dataGridView.DataSource = Nothing dataGridview.Refresh dataGridview.Rows.Clear() etc. but it only clears the datagrid temporarily. The next time I do a search the previous results still get displayed. Should I clear the adapter How would accomplish this Thank you. ...Show All
Smart Device Development How to support NandFlash under WM5.0 ?
Hi , i have devoloped the driver for nandflash under CE5.0 few months ago, and now i want to add the support of nandflash under WM5.0 , I think the driver code should be similar , but i don't know how to modify the .reg file , .bib file , and memory.cfg.xml file . Someone pls help me ,tell me how to achive that . Any tips is appreciate ! ...Show All
Windows Forms how to create a scrollable picturebox
If it is a small picture(whose size is equal to the picture box size) scrollbar should not appear..if it is not so..it should have scroll bar..once we scroll we can see the remaining part of the image. Anyone can provide a code for this. and also usefull link . thanks and regards, Uvaraj T You can find a control (with source code) here: http://www.codeproject.com/cs/miscctrl/PictureBox.asp ...Show All
Visual Studio can only create one shape
I started learning dsl tools recently. After going through the couple of examples i tried writing a designer myself. The new designer i created has two classes(will be more later) and each class pointing to different shape. it compiles, transforms and creates debug project . But in the debug VS, even though the toolbox shows all the shapes classes i can only create one class instance on to the designer. And the rest of them don't draw anything even i drag and drop them. The one that i can drop is the first one i created.. I checked parent element path, and element merge directives that was suggested in the other posts and they all seems to correct. did anyone had this problem before any suggestions on how i can make this work thanks ...Show All
SQL Server passing a boolean parameter to a package
hello at everybody well i have a problem. with in a package i defined a bollean variable with the name "x" and with a default value FALSE. i created a configuaration file that contains the variable "x" as [user::x]. when i deploy the package to a server and i try to execute the package putting to the set values TRUE fror the x variable it doesnt work. what can i do thnxs kats wrote: hello at everybody well i have a problem. with in a package i defined a bollean variable with the name "x" and with a default value FALSE. i created a configuaration file that contains the variable "x" as [user::x]. when i deploy the package to a server and i ...Show All
