Atlantaazfinest's Q&A profile
Visual Studio Tools for Office How to use the Microsoft web spreadsheet componet in Visual C++
Is there someone can help me out I am new in VC++. I can get sample Code how to create an OLE application of Excel spreadsheet in VC++, but can not find out the sample code about how to use the ActiveX spreadsheet component in VC++ - the way how to read and write data to "Cells". Thanks. Hi This forum isnt really for VC++ programmers and is for Visual Studio Tools for Office. Automation in VC++ is complex if you are new, can you use C# VB.NET or C++ your only programming language. There are many samples on Search engines Google www.Live.com etc etc Regards ...Show All
Visual Studio Express Editions Ordered List in a Textbox
Below is the code to place 50 items in a Textbox/Listbox in the Listbox the items show 1 - 50 but in the Textbox they show 50 - 1 I know why it's doing this but how do I reverse it to show 1 - 50 same as the Listbox For i = 1 To 50 TextBox1.Text = (i.ToString & ") " & (arrNumber(i))) & vbCrLf & TextBox1.Text ListBox1.Items.Add(i.ToString & ") " & (arrNumber(i))) Next Dim Count as Integer = 1 For i = 50 To 1 Step -1 TextBox1.Text = (count.ToString & ") " & (arrNumber(count))) & vbCrLf & TextBox1.Text ListBox1.Items.Add(count.ToString & ") " & (arrNumber(i))) count +=1 Next ...Show All
Windows Forms Radio Button databinding
I have two radio buttons in one groupbox and bind to two properties of one object. The following is sample code, //TestData is class with two boolean value properties t = new TestData(); t.Itm1 = true; t.Itm2 = false; r1.DataBindings.Add(new Binding("Checked", t, "Itm1")) ; r2.DataBindings.Add(new Binding("Checked", t, "Itm2")) ; My question is when I selected r2 (r1 deselected automatically), the properties of Itm1 and Itm2 in data behind object t are both true - I hope Itm1 change to false since it's unselected! I am missing sth Thx ...Show All
Software Development for Windows Vista The 64-bit Intel version of App Verifier 3.3 fails to install on our 64-bit Intel machine
The 64-bit Intel version of App Verifier 3.3 fails to install on our 64-bit Intel machine. When we use the AMD version of the installer, it does not generate logs when we run our MSI installer package. The installed application runs correctly in Test Case 4 on the 64-bit machine. Hello When you use Application Verifier, the version that you use depends on the bit verion of the application that you are testing. For a 32-bit application being tested on Windows 64-bit, you would still need to use the 32-bit Application Verifier. The ia64 version of Application verifier is only for Itanium systems. For 64-bit applications on and Intel EMT64 system, use the AMD64 version of Application verifier. Thank You Thomas ...Show All
SQL Server SQL Express with W98
Dear friends I have a question, SQLExpress are function with W98, because i had install SQLExpress in W2000 server, but the users with W98 can't connect the DB, this show a error, y tried connect by ODBC but i can't, what is the problem. Thank you There is no difference between SQL Express and the SQL Server Trial version with regards to remote access capabilities, only in default configuration. If you are able to connect from W98 to your SQL Trial Edition, then you should be able to connect to SQL Express if it is configured correctly. My guess is that SQL Express on the Server is either not configured to accept remote connection, or it is being blocked by the firewall. There is a KB article here that explains how to co ...Show All
.NET Development SerialPort Component doesen't write hex > 0x7f
I have a problem using the dotnet 2.0 serial component in c#. It doesn't write characters major of 127 decimal. In other words, Serial component doesen't support ASCII extended (chars from 128 to 255). For example: if I try to write a byte 0x30 , the serial com output is 0x30 but, if I try to write 0x80 , the serial com output is 0x00 and if I try to write 0x81 , the serial com output is 0x01 and so on.. Any Idea thanks in advance nobugz wrote: Sounds like an encoding problem. Specifically, System.Text.ASCIIEncoding, the default. Try using SerialPort1.Encoding = System.Text.Encoding.GetEncoding(28591) Not OK with SerialPort1.Encoding = System.Text.Encoding. ...Show All
Microsoft ISV Community Center Forums Web pages tranparent
I am a complete mewbie to visual studio I have visual studio 2005 and am programing in VB, well learning to program in VB anyway) I have just run into a problem I can not seem to locate a reason why it is happening. I am sure that I am simply searching for the wrong terminolgy as I really am just starting to learn the software and the language. I add the webbrowser to my form and put in a default URL (later I want to get the URL from some sort of a database but 1st things 1st, I build it and loaded the program, they web page loaded just fine but the background color of the web page does now show up it appears as transparent abd I can see my desk top behind the text. where do I need to look to fix this issue ( I tested in on several sites i ...Show All
SQL Server PageBreak only before odd pages
Hi all, I have a report with a few subreports and after each subreport I've added a page-break. But I want to skip a page and to leave it blank if the previous subreport ends at an odd page, so the next subreport will start at the next odd page instead of the even page. I use a transparent rectangle to add page breaks after each subreport, but because I don't have access to the Global.PageNumber variable in the body section of the report, I don't know when the page is even, so a second rectangle with a custom expression for the Visibility property is unuseful. Does anyone know how to fix this issue Thank you and I look forward to seeing some suggestions. Radu. ...Show All
Visual Basic Fileget
Hi, i am using fileget to read a file, but i am going the following error: System.Security.SecurityException was unhandled Message="Late bound calls to file system methods in the Visual Basic runtime are not permitted." my code is the following: Public Structure rec <VBFixedString(4)> Public icount As String <VBFixedString(48)> Public iTellerID As String <VBFixedString(48)> Public iTellerName End Structure Public myrec = New rec Dim iFr As Short iFr = FreeFile() FileOpen(iFr, "day_08.log" , OpenMode.Binary, OpenAccess.Read) FileGet(iFr, myrec,1) FileClose(iFr) What i am doing wrong Please help. It looks like ...Show All
Windows Forms Drag and Drop Label containing text into another panel
Hi all, I was wondering if it is possible to do the following: I have a toolbar-like panel on the left of my form, on the right side of my form I have a larger panel containing nothing. In the toolbar are panels containing labels with text. I want to be able to drag such a panel to the panel on the right side and drop it there. I want it to be dropped on the exact location where I released the mouse button, that exact x-y position. Is this at all possible Any help would be appreciated. I have a large panel called pnlTarget, this contains smaller panels which in their turn contain richtextboxes or listviews. I tried to give the richtextboxes or ...Show All
SQL Server Do I need to set a Drillthrough action to have Reporting Services perform a drillthrough?
Hi, Do I need to set a Drillthrough action to have Reporting Services perform a drillthrough Or are they two separate things To be clearer, is the point of the Drillthrough action (or any of the actions) only for the Cube Browser is AS2005 or are they used elsewhere, i.e. Reporting Services Thank you. Gumbatman I was also curius on whether reporting services support drillthrough or not, and found the following link. I guess, they don't. http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=126175 P.S. You don't mandatory need to have an DT action to use a Drillthrough statement. ...Show All
SQL Server how to break a string?
hi there, i have an original string in a filed and when i write the sql sentence i need to break it into chars exsample: string "123456789" i need to break: 1 2 3 4 5 6 7 8 9 what is the sql function to do it thank's uri Hi, I would suggest to refer below article http://www.databasejournal.com/features/mssql/article.php/3634381 and http://www.informit.com/articles/article.asp p=25040&rl=1 Hemantgiri S. Goswami ...Show All
SQL Server create table from select result
Hi, I need to create a table which has the columns from the select statement result. I tried in this way drop table j9a SELECT er.* into j9a FROM caCase c LEFT OUTER JOIN paPatient pp ON c.caCaseID=pp.caCaseID Left Outer JOIN paManagementSite pm ON pp.paManagementSiteID=pm.paManagementSiteID Left Join exexposure ee ON ee.cacaseID=c.caCaseID LEFT OUTER JOIN exExposureRoute eer ON eer.caCaseID=c.caCaseID LEFT OUTER JOIN exRoute er ON er.exRouteID=eer.exRouteID WHERE c.caCallTypeID =0 AND c.Startdate between '1/1/2006' and '12/1/2006' AND (ee.exMedicalOutcomeID=4 OR ee.exMedicalOutcomeID=10) AND pp.paSpeciesID=1 AND c.PublicID_adOrganization_secondary is null declare @1 int,@2 int,@3 int,@4 int,@5 int,@6 int,@7 int,@8 int, @9 int,@10 int,@11 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX book
Can someone reccomend a DirectX book for experienced OpenGL programmers Thanks, Bob Thanks for the replies. I guess a more appropriate question would be "... a DirectX book for programmers with graphics expirience". BK ...Show All
SQL Server Simple AS 2005 migration question (Time Dimensions)
I am updating work done on cubes under AS 2000. In AS 2000 a Datetime field could be linked directly to a Time Dimension from which the levels inside that dimension could be selected. This included being able to break a date into fiscal quarters. It was not necessary to divide up the field containing the full date and time into Day, Week, Months, year columns. In AS 2005 it seems I must break the date up into Day, month, and Year then link these fields to time dimension and specifying whether they are fiscal or calendar. Is there is a way to have the same intelligence as AS 2000 where the date partitioning is done for you without breaking the field up Can someone point me in the right direction Any help appreciated ...Show All
