kkam's Q&A profile
Visual C# form size
hi, the form i am making contains i think 60 textboxes which are hidden to check if the values being pass is correct. it almost occupy the design page and when i add the listboxes and buttons i can't put it at the lower level. i think the page is already occupied by the textboxes. is there a way i could adjust this one. i don't want to delete the textboxes coz they're important. i have seen web pages which contain so many data and occupy so many spaces. how come, my design space is not that big. the web form i'm doing has a original form written in vb and asp i think. i want to do this web ...Show All
SQL Server SQL Mobile Query
On the paper: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/med302_msdn_sql_mobile.asp frame=true While trying to complete the exercise, I encountered the following unexpected behaviour: While configuring the subscription for the SQL Mobile (from the tutorial – To complete the subscription) section, I encountered the following error – TITLE: Microsoft SQL Server Management Studio ------------------------------ Initializing SQL Server Reconciler has failed. HRESULT 0x80045003 (29045) The initial snapshot for publication 'SQLMobile' is not yet available. Start the Snapshot Agent to generate ...Show All
Visual C# Are there any Word-like font list boxes? | Fonts
Are there any Word-like font list boxes Is there any other way to select the font without going into the Font Dialog Mateusz If you are talking about premade drop down list for fonts that you can insert into your program like a button or text box then no, I don't think there is. But you could create a drop down list, type the names of the fonts you want the user to be able to chose from, then progmatically assign the font type to the text using the "Font" command, and place the whole thing in a Case:Switch loop. I think that should do you, of course I am running this all in my head and don't ...Show All
Visual Studio 2008 (Pre-release) AcksTo and Remote Endpoint Addresses are not the same
I have a pretty complicated scenario here which I will just provide a brief snapshot here. I have 2 WCF apps talking to each other via OneWay messages with a soap intermediary right in the middle. The soap proxy does nothing but just does ProcessMessage(m as message) and forwards it to the other application When I added a ReliableMessage element in there for my 2 applications: <customBinding> <binding name="MyOwnCustomBinding"> <reliableSession /> <tcpTransport /> </binding> </customBinding> it barfs an exception saying that: The AcksTo and the Remote Endpoint Address are n ...Show All
Windows Forms system.outofmemoryexception occurred in system.windows.forms.dll error while calling
Greetings, i am getting system.outofmemoryexception occurred in system.windows.forms.dll error while calling. its not even going to PopulateMemberof method before that only it is giving error my form code: string ret = l_CtrlCommon.PopulateMemberof(szXmlPath, "", "", ref cmbManagers,""); my class code: public string PopulateMemberof( string szXmlPath, string BusinessUnit, string Teamworkid, ref System.Windows.Forms.ComboBox lstMemberof, string BusinessCategory) { string retval = null ; DataSet dsList; DataRow[] arrdr; string szValue = ""; try { dsList = new DataSet(); dsList.ReadXml(szXmlPath + "Member ...Show All
Visual Studio Team System Unshelving
Assume that developer X has shelved a web project with the shelved name of jschmo20060209d. Developer Y wants to view this project and modify some of the code. How does developer Y view all the shelved copies of a project and then select one and open it up http://msdn2.microsoft.com/en-us/library/ms245465.aspx has directions, but my Source Control menu does not contain any option related to shelving or unshelving. Assume Beta 3 Refresh. Thanks in advance. Mark Is your Source Control plugin (Tools -> Options) set to TFS Have you created a workspace Do you have read permissio ...Show All
Visual C# Multiline comments auto-add "*" is driving me mad!
Try this: (1) Start a multiline comment by typing /* (2) Press return. (3) Aaaargh! Where did that extra "*" on the new line come from I don't want it! Is there ANY way of turning off this unwelcome behaviour It's seriously trying my patience having to press Ctrl-Z EVERY SINGLE TIME I PRESS ENTER IN A MULTILINE COMMENT! Grrrr! [EDIT] I see from this thread that there's no way to turn this off: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=69945&SiteID=1 It's strange that this made it through usability testing - every one of our developers hates the feature! Oh well. Maybe someone will write a macro to fix it... ...Show All
Visual Basic HelpCursor on Menu
Hi all, I need to enable context sensitive help in my application. For this when user clicks on a menu item( "Whatis this"), i would change the cursor to a help cursor. I used system.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Help As this code did not help in changing the cursor, i modified the code to Me.Cursor = System.Windows.Forms.Cursors.Help This code indeed worked. But when i move the cursor over a item in the menu, it changes back to the default cursor. Can someone tell me a way by which the cursor would remain as a help cursor irrespective of the item the cursor hovers over. Thanks, Suga ...Show All
Visual Studio Team System G.S.S. parent group
Hy, How do you create currituck group of group with the CTP of july The extensibility kit said that for multigroup we have to create a parent group how do you achieve this task regards, WoZoI Right-click a team project or the server in the Team Explorer and click Groups... under Settings. From here you can double-click a group and add any TFS group to nest groups or any Windows user or group. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Framework approach to building a C# -MDX Level Editor-type app?
Greetings! There have been a few posts/replies that touch on this subject, but I wanted to provide a thread that captured as much of this knowledge and ideas as possible. I want to build a multi-window winForms app with lots of controls (menus, treeviews, splitters, tabs, etc...) and be able to render 3D to different sections of the screen (tabbed windows, etc..). Possibly have a model viewer in one window and a scene view in a different window. I would like to be able to click on the model and spin it around.. or go to the scene window and fly a camera through it. When I review the samples of 3D model viewers, etc.. t ...Show All
Visual Basic Finding the internal Event IDs of a COM wrapped Custom Control?
Hi all! I have written a simple COM wrapper for the standard textbox control in .NET 2003 and exported it as a DLL. I have then embeded the component as an ActiveX control into another application (SAP ABAP) but this application (as do others ) requires the event IDs to be registered before they can be captured. The control loads and displays correctly - but just does not trigger any events. My problem is that I do not know how to find internal event ids of the events exposed by my custom DLL Do I have to explicitly declare or create the events to expose them to the calling application If I load the TypeLib file in the OLE/COM ob ...Show All
Microsoft ISV Community Center Forums VBA source code
Hi all. I need to do my final year project in Excel using VBA. The project is in such a way that i can generate curves using Excel. I have been searching for the samples source code for cosine, sine and FFT source code, but to no avail. Could anyne please advise me on this I am a newbie to VBA, so i'm rather lost now.. Thanks in advance. Thanks Gnomie, It works.. :)) By the way, is it possible to draw the cosine graph based on the formula using excel It seems like, i can only plot the graph based on the values keyed in the tables. Furthemore the graph obtained using the excel's Chart>XY Scatter doesn ...Show All
Visual Studio "Failed to open a rowset"
Help me.... I am using Crystal reports 9 embedded. I have a report which I'm loading using the following code. When I deploy the application in a client's pc "Failed to open a rowset" is the error that appears. I am using an ODBC connection. Any help would be appreciated.... Dim cr As New crptCMR Dim crtableLogoninfos As New TableLogOnInfos Dim crtableLogoninfo As New TableLogOnInfo Dim crConnectionInfo As New ConnectionInfo Dim CrTables As Tables Dim CrTable As Table Dim TableCounter Dim crReportDocument As New crptCMR With crConnectionInfo .ServerName = sname .DatabaseName = dbname .UserID = uid .Password = pwd End Wi ...Show All
Windows Forms DataSet ReadXML path
I'm new to Windows Forms and I'm having problems with the XML file path when calling ReadXML. DataSet ds = new DataSet(); ds.ReadXml("data/cases.xml"); dataGrid1.DataSource = ds; The exception states file not found. In ASP.NET, I would do something like Server.MapPath("data/cases.xml"), but it doesn't look like I have that option. How do I handle this in Windows&nb ...Show All
Smart Device Development Print PDF document
I have a Vodafone v1640 (also called I-mate jasjar). I've written a program to create a PDF file. How can I print the a PDF file from my c# application On the pocket is installed a ClearVue PDF but it doesn't print file, only view. I've tried to install the Acrobat Reader but it doesn't start. I supposed it isn't for Window Mobile 5. Thanks Hi Michele, I am Prashanth. I too is having the problem what you are facing. In your mail u have mentioned, that u have created the pdf file by c# programming in asp.net. Can you please give me tips in creating the pdf file on fly. looking for the reply..... Thank you in advance. ...Show All
