Software Development Network Logo
  • Windows Forms
  • Visual C++
  • Visual C#
  • .NET Development
  • Game Technologies
  • SharePoint Products
  • Visual FoxPro
  • Smart Devicet
  • IE Development
  • Windows Vista
  • Audio and Video
  • Visual Basic
  • SQL Server
  • Microsoft ISV
  • Visual Studio

Software Development Network >> lojncn's Q&A profile

lojncn

Member List

xxd
Hila123
sri111
best49erfan
kmbarz
Bibble
rexisfed
Dietz
Kamii47
mameelas
Johan Cyprich
ADHDsowhat
Raul Peña
Jimmy_fingers
Benin
knvb
ChrisCurry
Woody_In_Sheffield
SameerNSameer
Ibrahim Khalil
Only Title

lojncn's Q&A profile

  • Visual Studio 2008 (Pre-release) Buttons inside a FlowDocument in a RichTextBox

    Hello. I'd like to have a button inside a flowdocument in a richtextbox. This button should be enabled but, when I insert it in the flowdocument, it is always disabled. < RichTextBox > < FlowDocument > < Paragraph > < Button > Click me! </ Button > </ Paragraph > </ FlowDocument > </ RichTextBox > What's wrong Thanks. It is not supported http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=345053&SiteID=1 ...Show All

  • SQL Server Export to Excel, Editing Data Issue

    I have an issue that I don't think is posted here anywhere (I did search, maybe not for the right thing) I have a report that exports roughly 3,000 lines. When I export the report to .XLS and open it in excel I am not able to change the formatting in any of the cells. for example: [01/01/2006] [01/01/2005] are two columns, every row underneath it is also a date type field, if I click on the column header, format cells, choose the date type I would like to see, it does nothing. Excel goes through the motion of changing, even has an "Undo Format" choice, but nothing appears. Until I click in the cell, which makes Excel go into edit mode, and then click off of it. This apparently forces the formatting. I know that some of the cells ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Strange bug - My system or XNA?

    I'm having a hard time troubleshooting this one. I have a simple XNA app where I have 2 cubes rendered with different colors from an FX file and the camera rotating around them. Very basic. 2 weeks ago, all of a sudden the program still works but the colors never show up anymore. It's just the blue background with the cubes 100% black. A couple days later, without changing the code, the color comes back onto the cubes and everything working again. Now today, the cubes have lost their color again! WTF ! I have the latest video drivers using DX August SDK and XNA Beta 2. You can check my test project here: http://www.pepperboy.net/Bin/files/Rainbow.zip This sounds like a problem with the order in which you ...Show All

  • Visual C++ Specifying DLL Location

    I've a C++/CLI console application which utilizes a custom-written DLL. How do I specify the location of the DLL when I startup the application I would like to have the DLL stored somewhere other than the current directory of the application. I think your problem can be solved using "delay-loaded" DLL. You can mark your DLL as delay-loaded using a linker option. Your EXE application will provide an implementation of certain helper functions which load your DLL from required location. This seems to be a large topic and you can start here: http://msdn2.microsoft.com/en-us/library/151kt790.aspx . Alternatively you can load your DLL explicitly using LoadLibrary an ...Show All

  • Visual Studio Express Editions Total Troublesome

    Happy New Year VB Programmers!!!! Im having a few probs with this one: Private Sub ItemsDataGridView_RowLeave( ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles ItemsDataGridView.RowLeave Dim i As Integer Dim total As Double = 0 Try For i = 0 To ItemsDataGridView.RowCount - 1 ItemsDataGridView.Item(3, i).Value = ItemsDataGridView.Item(0, i).Value * ItemsDataGridView.Item(2, i).Value total += ItemsDataGridView.Item(3, i).Value Next textbox1.text = "£" + total.tostring Catch ex As Exception MessageBox.Show( "Error With Calculation, Please Try Again" ) End Try End Sub Ive put this code on my ...Show All

  • .NET Development How To Store Products with Attributes

    Hello I am building an application and website, However 1st of all I obviously need to design the database, and i was just woundering about the best way to do some things. For example my application/website must allow customers to purchase products, these products can have 0 or many attributes, such as size, flavour, colour etc. Which is the best solution to tackle this in regards of database table design This is the setup atm, but i would like some idea's/opinions Products Table - holds products information, and a base price information Attributes Table - holds many different attributes, such as name, description etc. ProductAttributes Table - This holds 2 foreign keys and some other information. ProductID A ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Indie" Game Development on Xbox 360 and PC

    (This is my first (technically second, I commented on something else) post on these forums) Alright, as a high schooler looking to get into game development after college (or possibly even nixing the college and going straight in) I was wondering if Microsoft was planning on doing anything at all with the XNA Framework that would support low budget game development. How available will tutorials and books about the code be available How much money will the tools and such cost How easy is this code going to be to learn Will it be easy for people to test on PC and a (normal) Xbox 360 with this code I've questioned Nintendo (through their website) about whether or not they'd be supporting "Indie" development, and I was given an aff ...Show All

  • SQL Server printing error

    Hi, some of my application users doesn't have Admin Privileges to their machines. When they try to print the reports, its giving a message "Unable to load client print control". Please help me how to solve this problem Can you login as an admin and print a report I believe that the first time you try to print any report, it installs the print controls. Then you can log off and let the user back in. This way, the print controls would be installed for the user the next time they need to print. Hope this helps. Jarret ...Show All

  • Visual Basic How to get DataGridView into Database

    How I get this into Database Thank you. Public Class Form1 Dim PocetRiadkov As Integer Private Sub Table1BindingNavigatorSaveItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Me .Validate() Me .Table1BindingSource.EndEdit() Me .Table1TableAdapter.Update( Me .Database1DataSet.Table1) End Sub Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'TODO: This line of code loads data into the 'Database1DataSet.Table1' table. You can move, or remove it, as needed. Me .Table1TableAdapter.Fill( Me .Database1DataSet.Table1) End Sub Private Sub Button1_Click( ByVal sender As System.Obj ...Show All

  • Windows Live Developer Forums Live Alerts SDK - auto subscribe bot user?

    Hi, I have access to a Live Alerts SDK account, and since our company creates MSN chatbots, I was wondering if the following is possible: I would like a bot's user be subscribed to an Alerts group automatically. Of course the bot first asks the user for confirmation "Would you like to receive the latest news via Live Alerts " I understand from the SDK docs that subscribing someone to alerts first requires a redirect to the sign-up page hosted on Live Alerts, in a browser . Is there really no other way What if my sign-up application would run inside a Messenger Activity. Could I somehow get the user's Live ID (since he already signed in on Messenger) and use that data to subscribe the user to an Alerts feed, all the time&nb ...Show All

  • Visual Studio Express Editions hello, can anyone tidy up this or improve it please,just for my education

    hello all I am doing an app (as a beginner), to write to a database. I have some combo boxes, and the user is not allowed to enter a name of mickey mouse for example but has to select a name from the list. The code below works, the validation is fine, but i feel i made a pigs ear of it, for instance i have to save the original text in the combo box selected as this was be written over by each iteration of the for validating loopand write it back out to the text box, when the validation has finshed. cmbrequested by is the person why requested teh work to be done. if cmbRequested_by.Text = "" Then ErrorProv1.SetError(cmbRequested_by, "Field can not be nothing" ) Return False Else Dim ...Show All

  • Visual Studio Express Editions VC6 to VC Express 2005 error!

    Hello; I recently start moving from VC++ 6 to VC++ Express 2005. I read the book "Game Programming all in One" from Premier Press and practice all the examples with VC++ 6 having no troubles at all. But when I start coding all the examples for VCE the problems start. Initially nothing difficult, some type errors, "some functions are deprecated because more secure versions are available", another warnings, etc. But, when I tried to compile a game (working fine in VC++ 6) called Monster I found an error I couldn't solve, the error message is next: 1>\chapter 07\monster\conlib.cpp(75) : error C2664: 'SetConsoleTitleW' : cannot convert parameter 1 from 'char *' to 'LPCWSTR' Types pointed to are unrelated; conv ...Show All

  • .NET Development XML, Excel, VB.NET and some guidance ...

    Hello, Is the a way i can acomplish these tasks : a. Within a windows form, open an xml document ( i use spreadsheet 10.0 com object ) from a specified location , b. Save it, also as xml, but somehow index it, so when i open it ( just like point {a} ) not to use the absolut path of the file ( C:\ Documents \ ... ) but rather this index. I chose this approach because the environment i work in is not organised, files are often moved, and so on. Also, for this i was thinking to create a service based on the fileSystemWatcher events ( changed, moved, etc ). I observed that class is able to determine, in case of a moved file, the new location. Please, if someone could help me, i would really appreciate it ! P.S. I promise to r ...Show All

  • Windows Forms onlick event for rectangle

    Hello, I am drawing on a windows form using System.Drawing.Graphics. I would like to wire up specific regions/rectangles of the drawing to an onclick event. Does anybody know how to do this Thanks in advance for you help! RC I was able to figure out how to get the point in the form where the mouse clicks. Used the following code... private void split_Panel2_Click(object sender, MouseEventArgs e) { Point clickPnt = new Point(); clickPnt = e.Location; } Thanks for helping! RC ...Show All

  • Windows Forms Custom serialization of extender properties

    I'm performing a custom serialization of a designer host, but can't figure out how to serialize extender properties. I.e., if I add a TableLayoutPanel and then some Buttons to the TLP, each Button gets Row, Column, etc properties from the TLP. However these properties don't show up in the Button's PropertyDescriptorCollection from TypeDescriptor.GetProperties(). How can I get at these properties to add them to my serialization code Good suggestions, thanks! In the GetProperties call, I do use the component for the reason given in the docs: "The properties for a component can differ from the properties of a class, because the site can add or remove properties if the component is sited." This li ...Show All

©2008 Software Development Network