Milzit's Q&A profile
Visual C++ please tell me how can i transfer the bitmap in the resource into a filename?
I add a bitmap in resource file, and I want to use the following function to load this bitmaps: AUX_RGBImageRec * COpenGL3D::LoadBMP(CString strFilename); I do not want to change this function, please tell me how can i transfer the bitmap in the resource into a filename, and use the above function I appreciate your help. You'll have to save your resource into a file. That gets pretty pointless pretty quick, you might as well distribute your artwork in a file rather than a resource... ...Show All
SQL Server Returning Dimension Values with no Measures
I have a need to return data in a report(matrix) that would show all attributes for a given dimension, even if those attributes had no measure data for those given values. In other words, if I was creating a matrix with quarter going down the x-axis, and sales region going across the y-axis, with sales amount as my financial values, I would want to display sales region across the y-axis even if there were no values. Has anyone been able to do this successfully I am using reporting services on top of an analysis services cube. Michael- Is there a way I can do this without writing MDX We are using Reporting Services Report Designer, and trying to avoid writing MDX as much as possible. I can do it if need ...Show All
Software Development for Windows Vista Using Workflows for documentation purposes
Actually it would be a great advantage of WF foundations to be able to use designed WFs as documentation, both for the design phase and, after final implementation, to document workflows to the user. However, this is not possible in the current product for the following reasons: a) The symbols are too small, on most symbols the name of the symbol doesn't even fit in the available space, so it is not readable in print outs b) You can only see the name in the symbol, for documentation purposes, also the "most important" properties (such as the condition in a IfElse branch) should be visible, too c) The description for an Activity should be visible, best in a "note"-style element attached to the Activity, as in ...Show All
Community Chat What language do you prefer?
Could someone please enlighten me as to what the advantages and disadvantages of the following languages are, in general: C# C++ Visual Basic Also: I read somewhere that C++ was much better for game programming than VB, but why VB is easier to learn and use, so what are the advantages of C++ Squire James wrote: Employers seem to make a big deal out of miniscule differences, treating people like vb and C# are different job skills and all. I've always thought this as well. VB and C# are extremely similar -- much closer to each other than C# is to C++. Personally, I prefer writing in C++. I like knowing what the machine is doing, and VB/C# don't provide that knowledge. And with the addition of C++/CLI, ...Show All
Visual Studio Tools for Office .Net setup failure in Win2k
i have created a setup file in .Net 2005 under xp platform, where i created the project on xp with .Net 2005. when the run the setup file in works fine on XP , but when i run the setup on win2k , i am getting an error System.DllNotFoundException: Unable to load DLL 'uxtheme.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E), this must be the reson that xp themes are not installed on win2k , how to resolve this issue, where i want to run the setup created on xp platform on win2k http://www.google.com/search hl=en&q=conditional+installation Or even more precise link: http://msdn2.microsoft.com/en-us/library/aak1cze8.aspx ...Show All
Visual C# what dose this error means?
I am trying to connect to SQL Server 2005 Express on my local machine using this command: sql_connection = new SqlConnection ( "Data Source=JASSIM-PC\\SQLEXPRESS;initial catalog=shefa;integrated security=true" ); but getting this error message!! System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.S ...Show All
.NET Development .NET 2.0 framework changes with VS2005 SP1 install?
Are there any updates to the framework with the SP1 install ...Show All
Software Development for Windows Vista Workflow Extensions RC5 not working?
I have installed RC1 of the .NET 3.0 framework ok on my Windows XP x64 workstation, but the Workflow Extensions RC5 for Visual Studio 2005 don't seem to work. They install the SDK but no Workflow options appear in VS2005 The previous CTP (July) worked ok Hi, there, I had the exact the same problem when I saved the rc5 msi locally and then installed it. I managed to bypass this problem by clicking the Run button directly on the File Download Dialog. Try it, it might help. Richard ...Show All
Visual Studio How to write a code to add reportdatasource into rdlc
Hi there, I have a problem on my rdlc not see reportdatasource as i assign into a .aspx page as below: =============== Imports System.Data Imports System.Data.SqlClient Imports Microsoft.Reporting.WebForms Partial Class Reports_report Inherits System.Web.UI.Page Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim ds As New DataSet Dim dt As New DataTable( "dt" ) dt.Columns.Add( "CustomerID" , GetType ( Integer )) dt.Columns.Add( "CustomerName" , GetType ( String )) ... .... ds.Tables.Add(dt) reportview1.LocalReport.ReportPath = Server.MapPath( "rpt.rdlc" ) Dim ...Show All
Windows Forms Formatting Rows in Datagrid based on data in the coresponding row of datatable
I want to format Rows in my Datagrid based on data in the coresponding row of its datatable (including columns in the datatable which are not displayed in the Grid). I have set up a DataGridTextBoxColumn class and it works. My problem is in the eventhandler that decides which colours to use I have the following code dgrid.CurrentRowIndex = e.Row 'select the row of the datagrid that is being formatted 'Now get the coresponding row in the source datatable Dim bm As BindingManagerBase = dgrid.BindingContext(dgrid.DataSource, dgrid.DataMember) Dim dr As DataRow = CType (bm.Current, DataRowView).Row 'now based on data in the row of the datatable (not necessarily displayed in the datagrid) format the row If dr.It ...Show All
SQL Server bug report: Agent JOb Step forgot it's option
In Agent Job steps, chose to run a SSIS package in file system. In the CommandLine Tab, chose Edit CommandLine by Manual,and add the /DECRYPT to it. Because the SSIS package has a password. Then save it, run the job, everything is OK. But, when you enter the step again, the CommandLine option is return to it's original opion. Save and run, the /DECRYPT will not be sent, and fail. So everytime when you just enter the step, you must remember to modify the opiton again. That's stupid. Thanks. Anyone meet this problem Please have a try, and you will find it. This is not an obviously Bug, but it hurts to our project to a great degree. In fact, it makes the Package with password could hardly be used by Job Agent. ...Show All
Visual Basic How do I Implement Open a Cash Drawer Command Using Visual Basic
Star TSP143 Receipt Printer - TSP100 Series This is the command that I have to execute: starcomm1.StarComm_Output Chr(7) This is the code that I have now but does not work Private Sub Button13_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) ' Begin a new print job 'Solamente abre la caja Dim text As String = "my test" 'Error:Error 7 Name 'StarComm1' is not declared. 'StarComm1.StarComm_InitializePrintJob() 'StarComm1.StarComm_Output(text) StarComm1.StarComm_Output(Chr(7)) StarComm1.StarComm_Print() 'SC_OPEN_CASH_DRAWER_1() 'SC_OPEN_CASH_DRAWER_2() ' For printing directly to a parallel port without starcomm, ' this code would work ...Show All
Visual Studio Super slow installation for VS2005 SP1 beta
Well, it’s not something new, there are people at Microsoft that work hard to make our life easier, like the Microsoft Windows Vista installer for example, an entire OS in 20 min; and there are some less experienced developers (my assumption only) who are given for some reason the task of creating the VS2005 SP1 installer. Whoever wrote that thing, he, she or they, can say whatever they want, but to take 2 hours to get the SP1 beta installed is just damn stupid, here are 2 hours by a million people in the world, a total of 2 million hours lost, thanks to a group of developers at Microsoft, maybe they could have spend 100 more hours to learn math, or to profile the installer, and could have saved the world a million hours ...Show All
SQL Server Installing Sql Server 2005 Side By Side with 7.0
I'm rather new at working with SQL Server. I've installed 2005 onto my PC and I have 7.0 already. What I want to know is how do I import my packages from 7.0 into 2005 Any help would be appreciated. Thanks The packages are DTS Packages that we have created. I installed another instance of SQL Server. So right now 7.0 and 2005 are running on the same machine at the same time. Another question. When I installed SQL Server 2005 everything came up but I couldn't find a server name. My 7.0 has a server that I can browse and even had that before I did anything. So did I do anything wrong Or are there additional steps that I failed to take ...Show All
.NET Development Data Adapters vs Table Adapters
We are upgrading from VB 03/SQL MSDE to VB 05/SQL Express edition. The code all upgraded fine. The point of confusion is the Data Set/data adapter (03) vs Data Set/Table Adapter (05). In the O3 version, we created many Data Sets (Some with multiple tables, some with multiple Data Adapters to handle different Queries), and Data Adapters in the Component Designer (there is no comparable component designer in Add, New Item in 05). During conversion, all Data Sets were automatically copied to the Data Source Tab. All Data Adapters and Data Sets were left in the Component Designer document. Many questions: Are Table Adapters going to replace Data Adapters as time goes on If yes, then it would make sense ...Show All
