SvetlanaCT's Q&A profile
Windows Forms Binding of dynamically created controls
hi, i have a form which creates in the loop i am creating them nicely here is my code for that Sub createcontrols() Dim i As Integer = 1 Dim j As Integer = 1 Dim k As Integer = 64 For i = 1 To Me.txtloop.Text ...Show All
Visual C++ Linking problems using Visual Studio.net 2003
I have written a program that needs to use DirectX libraries. I am using Visual C++.net 2003. I have compiled it successfully. When I go to "Debug" on the menu bar, down to "start", it says that these project configurations are out of date and would you like to build them. I click "yes" and it comes up with linking errors: Linking... draw.obj : error LNK2019: unresolved external symbol _D3DXCreateTextureFromFileA@12 referenced in function "int __cdecl DoInit(void)" ( DoInit@@YAHXZ ) it gives other LNK2019 errors and one LNK1120 error: Debug/Draw.exe : fatal error LNK 1120: 6 unresolved exte ...Show All
Visual C++ VisualC++ command line support
I am coming from the Unix world. We currently support development/building in a multi-user, command line environment. Does anyone have any knowledge about doing this under Windows Is this a viable approach Will VisualC++ support multi users logging in to a single machine, and running make from the command line, for example Thanks. With Windows you can use remote terminal services to log on to a Windows box remotely: you can then use the compiler from the cmd-line to build projects as you would in the Unix world. The only issue might be if multiple users attempt to build the same project at the same t ...Show All
Visual Studio Team System error adding wsdl to a webservice
Hello, I have a strongly typed dataset that is being returned in a webservice. I wanted to start using the architect of ts and create documentation. When I open up a DS and add a webservice application and then right click and select "create webservice endpoint from wsdl" I get an error stating "The name is not a valid type name" If I add a reference to the webservice for a project in the ide I can see the webservice function so I do not belive there is an issue with the service itself. Has anyone had a problem trying to add stronly typed datasets to a webservice application for architect Thanks in advance. John ...Show All
SQL Server Fit dataset on one page
Hey guys, Let's assume I have dataset with two columns (A,B) and it has 100 records. I'd like to split this dataset on the same page with 25 records in every column. Side by side. Example: ColA ColB ColA ColB ColA ColB ColA ColB 25 rec 25 rec 25 rec 25 rec What should I use and what properties I have to play with Thanks. Hi cvajre (whatever this means ;-) No, there is no property to control how many reports are shown on a single page. Keep in mind that RS is designed to support and handle rich free-form reports in an open number of presentation formats. That way, eve ...Show All
Visual Studio Express Editions Button text different when running to when in IDE?
Visual c# Express - a project developed in beta2 Text in buttons in the IDE is fine but when running the text is not quite right - it's as if the kerning has changed. So a button that says 'Test Comms' in the IDE says 'Test Comm' when running. Looks like every button on the form is affected. Font is 8.25 pt Microsoft sans serif. Labels are ok as are datagridviewcolumn headings - it is just buttons that seem to be affected. Used to be OK in beta 2 Any ideas Thanks Steve Having a look at another instance of this issue recently and your fix works perfectly - many thanks. How can anyone&n ...Show All
Windows Forms DataBinding to a SQL Field of type money
Has anyone ever had a problem DataBinding to this field type I have a method that sets up all my DataBindings for my controls on the form and when I run it I get this error: "DataBinding could not find a row in the list that is suitable for all bindings" When I comment out the DataBindings for the fields that are pulling from ...Show All
SQL Server how to solve Syntax error or access violation?
Hi, any one can help me to solve this problem i run sql statement in RS to get the dataset i want. but it show me this error. below is the sql statement that having error (1). --------------------------------------- SELECT MAX(Weekday) AS Mweekday, MAX(AveScore) AS MScore FROM (SELECT DATENAME(dw, dtAnswer) AS WeekDay, AVG(bScore) AS AveScore FROM Answer WHERE (iMinutes BETWEEN 570 AND 1020) AND (dtAnswer BETWEEN @lastWeekMon AND DATEADD(dd, 7, @lastWeekMon)) GROUP BY fDiscard, fIncomplete, DATENAME(dw, dtAnswer), DATEPART(dw, dtAnswer) HAVING (fDiscard = 0) AND (fIncom ...Show All
Microsoft ISV Community Center Forums Office 10 \ winword.exe runtime error
I have downloaded the service pack 3 but I'm still encountering the problem when I try to open MS Word. MS Excel, MS Outlook , MS Powerpoint & MS Viso all work fine. Any time I try to open MS word I receice a Box vissual c++ runtime library. This application has requested the runtime to terminate it in an unusaul way. Microsoft Office\Office 10\Winword.exe. Here's a list of support articles that I ran across regarding runtime issues with Word that might be helpful while the support engineer looks into your issue. http://support.microsoft.com/search/default.aspx qu=Office+10+%5C+winword.exe+runtime+err ...Show All
SQL Server Unable to connect to Analysis Services as a client
Hi, I got SQL SERVER 2005 SP1 installed on a server and is running fine. I've installed BI studio on a client computer and I can access the database engine. On the client computer, while deloying my cube I get the following error : the project could not be deployed on the server "server_name\instance_name" due to connectivity problems. Verify that the server is running I've checked the project properties and in the deployment section I have the right server : "server_name\instance_name" and the right database : "database_name". I can access the server since i've created the datasource using the sqlclient provi ...Show All
Visual Studio Express Editions Delete a textline containing a certain string from a text file .
hello I am new to vb and i cant not seem to solve this problem .What i am tring to do is very simple . I have a simple form with a textbox and a button , i use it to add a line of code into a textfile. This works just fine . My problem is that i want to create a simple form that will delete a line that contains a certain string . i do not want to delete the whole file just a certain string . here is the code i use to add a line to the text file : Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click My .Computer.FileSystem.WriteAllText( "c:\te ...Show All
Visual C++ Writing a Specific CRC32 Signature on a File
Just say I know the CRC32 Signature that I want to put on my file but I don't know how to specify it in my code so that when it signs the file it signs it using that specific signature that I specified, like if I open a file called "dune.map" and I know that the signature is supposed to be "DE545GHJ" how would I put that in my code so that when I click "sign" it signs the file using that specific signature, but then I want to open another file called "backwash.map" and I know that the signature for that file is "DDFGSFFG" how would I specify it in the code so that when I want to sign it i ...Show All
Visual Basic selected data could not display on window form
the selected data could not display on the window form when it is executed...but when testing in the execution query the data could be display ......i am using fill method with SQL statement inside..... HI....thanks for reply when i execute the code using te error handle from the link...it do not show any error... so....if there other posible error that could accur... this is my code( Private Sub btnSearch_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSearch.Click Dim sublot As String = txtSubLotPt.Text TblProcessDetailsTableAdapter.ClearBeforeFill = True t ...Show All
Visual C# Referrer not working...
Hi, I'm using custom errors in my web.config file to redirect to a page called, 404.aspx. It' working perfectly, it returns the page that was n't found but, not the referrer where the user clicked to get to the wrong page... I'm using Request.referrer to get it and it doesn't work, is there a way to get that information Thanks hi, for web forms its better to ask in ASP.net forums http://forums.asp.net hope this helps ...Show All
Visual FoxPro word in vfp
i have seen in some programs a window similar to word that opens inside from vfp.is it possible to open ,lets say a word istance window inside vfp ,so that i can create save print a word document Probably you mean rtf sample in solution.app. Word also could be used with in-place activation in form but not suggested. If you want to do it then instead place a webbrowser control and navigate to a doc file. I recommend using wod automation instead. ie: oWord = createobject('word.application') * word vba commands ...Show All
