Topics
-
- 6 replies
- 1.7k views
Does anybody know of any tools that I can use to create my own meshes? and that can use .x files?
Last reply by Tommi Laukkanen, -
-
- Administrators
- 10 replies
- 2.2k views
I'm going to need to create an application that can log onto an XML webservice (not sure if it's .net or not yet) and send verification and receive one or more datatables in XML. I'm just stuck at how to practice. I don't have a web service personally. Does anyone know of site with XML WebServices to practice off of?
Last reply by Mister E, -
-
-
- Administrators
- 3 replies
- 1.1k views
i have a form with a text field on it. to populate that text field, i have a little button that brings up a search form to fnd the relivant data. i want to pass this data back to the first button when i click a button on the search form. this is proving supprisingly hard to do. can anyone offer me some help?
Last reply by Diesel, -
-
- 0 replies
- 779 views
Is there a way to dynamically create a Crystal Report at runtime. Meaning, start with a blank report and adding to it as necessary. Everything I have seen about crystal reports indicates that I have to use predefined data definition, and I cannot change a field's datasource on demand.
Last reply by kcwallace, -
- 1 reply
- 877 views
I am new to ado.net. I have a dataset that I am using to populate a datagridview. Under the grid I have a text box and I want the user to be able to filter the datagrid based on what they type in the box. As an example, if the user types an "A" then all people listed in the grid with the last name of "A" will show up. If they type "AB", only people starting with "AB" will show up. I use the WHERE LIKE '" & textbox1.text & "%' as my query. I don't want to have to requery the db each time. I understand that this can be done with the dataset but I don't know how. Any help would be greatly appreciated. Shannan
Last reply by Denaes, -
-
- Administrators
- 2 replies
- 712 views
I'm trying to convert a huge old database to 2005. I can convert things straight over just fine. My problem is that the old database had many tables that were joined on multiple Char fields. In addition to not being unique and harder to do queries, it was sucking performance out the window on some queries. I'm looking to convert over a table (TableA) and have SQL Server populate an Identity field (TableAID). Then When I load a table that's related, each row I'd query TableA for the keys and insert TableAID rather than the multiple other fields. I can also do this before hand in the old database with a few SQL scripts, but that would make it a two step process u…
Last reply by Denaes, -
-
- 1 reply
- 810 views
I have used this forum so heavily and it has made me so much better of a programmer, that I wanted to give back something: 'this writes to the format: ' TableName char 30 ' FieldName char 30 ' FieldType char 20 ' FieldSize Int 4 ' FieldNumType Int 4 Dim i As Integer Dim sItem As String Dim sSQL As String Dim dr As DataRow Dim dt As DataTable Dim dtR As DataTable Dim dRow As DataRow Dim oConn As SqlClient.SqlConnection Dim cmd As SqlClient.SqlCommand Dim da As SqlClient.SqlDataAdapter dt = New DataTable dt.Columns.Add("Table") dt.Colu…
Last reply by TheWizardofInt, -
- 0 replies
- 1.4k views
Hi all How do I go about removing/relocating a primary key in a dataset. I know that I can use dataset.TAble(0).primaryKey.value = <<Column>>, but will this automatically remove the existing primary key, or must I do this myself? Mike55.
Last reply by mike55, -
-
- Administrators
- 1 reply
- 1.2k views
Hey guys, I'm having some problems connecting to a database made inside of Visual Web Developer 2005 Express Edition. Every time I run the webpage, I get an error (Unrecognized database format 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\WebSites\WebSite2\App_Data\sites.mdf'). It's driving me nuts! Any ideas? Here's a snip of the connection code. DataTable dt = new DataTable(); DataSet ds = new DataSet(); OleDbDataAdapter da = new OleDbDataAdapter(); OleDbConnection con = new OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=C:/Documents and Settings/Owner/My Documents/Visual Studio 2005/WebSit…
Last reply by PlausiblyDamp, -
-
- 5 replies
- 5.9k views
All, I have a question on using Threading Timer. Basically this is my first time to use this timer and before this, I use System.Timers most of the time (well, until I found out using System.Timers would be a pain in Windows Service...) unlike Systems.Timer, Threading.Timer does not Start() and Stop() methods, and the worst of all, Threading Timer is NOT thread-safe, and allow Re-Entrence, how can I gurantee to all my code begin execute inside the TimerCallBack() without re-entrance? Is there any way to set the timer stop inside the TimerCallBack. Here is one example (PseudocodeCode): Public Class Main Public Sub Form1_Load(ByVal sender As System…
Last reply by microkarl, -
-
- Administrators
- 1 reply
- 1.3k views
Hi. I'd like to manipulate with some image files with windows service application. If I start a windows project in Visual Studio, then Images and Bitmaps objects are not supported. Why? Why windows service shouldn't operate with System.Drawing classes??? Here are few sample fucntions, that doesn't work. Can U help me? Private Function Crop(ByVal img As Image, ByVal Img_X As Integer, ByVal Img_Y As Integer, ByVal Img_width As Integer, ByVal Img_height As Integer) As Image 'crop image Dim bmpImage As Bitmap = New Bitmap(img) Dim recCrop As Rectangle = New Rectangle(Img_X, Img_Y, Img_width, Img_height) Dim bmpCrop As Bitmap = New…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 1.4k views
Hi all, I'm brand new to DirectX and i'm reading "Managed DirectX 9 Kick Start Tom Miller". I actually understand a lots of thing and i need advise for what i want to do.. I explain: My class will receive many Points and I must create a 3D Logs with those points.. I don't know what information I will receive (points) but i think it's everything to know the diameter of the logs section and Z position. I know that i will get those informations for each inch of the logs... so I would like to know if i should create my logs with many sections using TriangleStrips or if i should create Mesh File. If it's not clear, i will try to give you better explanation (I'm …
Last reply by PlausiblyDamp, -
-
- 1 reply
- 941 views
I'm trying to create some properties in my C# project, but the IDE (Visual Studio 2005 Express) is very upset and is throwing red squiggle lines underneath items everywhere. I realize the calendar class I am creating is probably done somewhere already, but I want to learn how to do some things with C# during my time off from work (where we are stuck using Borland). Right now, I want to find out how to add a property and how to access indexed property values. // ---------------------------------------- public class Calendoo { private string mName = "blank"; private string[] mMonth = new string[16]; private bool[] mInUse = new bool[16]; public string Name { get { …
Last reply by HJB417, -
-
- Leaders
- 0 replies
- 1.4k views
I have a MenuStrip component on my form and I have noticed undesirable behavior as far as rendering goes. There is no issue when the RenderMode is set to professional, but only when the RenderMode is set to System (my preferred rendering). When a ToolStripMenuItem's submenu is displayed and then the mouse cursor is moved over a different ToolStrupMenuItem (not contained in the submenu) both the expanded MenuItem and the MenuItem under the cursor are highlighted, resulting in two highlighted menu items in each menu, which can look pretty ugly. [see the attached image] Is this some kind of bug or is this the expected behavior? The reason I ask is because it is incons…
Last reply by snarfblam, -
-
-
- Leaders
- 5 replies
- 10.8k views
I got this message today while debugging through a very small program using Visual Studio 2005 Express with my C# program: ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x1b11b8 to COM context 0x1b1328 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartmen…
Last reply by joe_pool_is, -
-
- 1 reply
- 1.2k views
Hello, since I'm making my first steps in DirectX I have a very simple question - what is wrong with that code: Dim stm As GraphicsStream = vb.Lock(0, 0, 0) Dim verts(3) As CustomVertex.TransformedColored verts(0).X = 150 verts(0).Y = 50 verts(0).Z = 0.5F verts(0).Rhw = 1 verts(0).Color = System.Drawing.Color.Aqua.ToArgb() verts(1).X = 250 verts(1).Y = 250 verts(1).Z = 0.5F verts(1).Rhw = 1 verts(1).Color = System.Drawing.Color.Brown.ToArgb() verts(2).X = 50 verts(2).Y = 250 verts(2).Z = 0.5F ve…
Last reply by gnom, -
-
- Leaders
- 12 replies
- 10.3k views
Hi everybody, Does anybody know what the correct synthax for the following C# 2005 Espress code is? I keep getting an error message saying that "SelectedItem is a Property but is used like a Method" private void mcMultiColumnComboBox1_SelectedIndexChanged(object sender, EventArgs e) { System.Data.DataRowView myDataRowView = mcMultiColumnComboBox1.SelectedItem(); this.cultivarTextBox.Text = myDataRowView[2].ToString(); } Thanks a lot, JC :)
Last reply by jcrcarmo, -
-
- 0 replies
- 1.7k views
Hi everybody, Happy Holidays! I have a datagrid with 3 columns: Column 1 is combobox Column 2 is textbox column 3 is combobox I've been trying to display values in the combobox on column 3 depending on the value selected in the combobox on column 1. What's the best approach? I've tried many different ways, but to no avail ... Thanks in advance! JC :)
Last reply by jcrcarmo, -
- 0 replies
- 1.6k views
Hi... I'm building a custom control that needs to have a DataSource property... pretty much like a datagrid. Can anyone point me the guide lines on how to do this? I know that I need to add support to: -> IList interface -> IListSource interface -> IEnumerable interface but I need to do this ASAP... Thanks! Alex :p
Last reply by AlexCode, -
- 1 reply
- 804 views
This is probably a simple question but i would appreciate some help. I am trying to implement paging with a datagrid that also has a button that allows the user to insert selected information into a datatable thus: <asp:DataGrid id="dg" runat="server" ShowHeader="False" AutoGenerateColumns="False" Width="754px" CellPadding="10" HorizontalAlign="Center" OnItemCommand="AddProduct" DataKeyField="ProductID" OnItemCommand="AddProduct" OnPageIndexChanged="pager" AllowPaging="True" > This works ok if I leave out the paging or the on item Command but they wont work together. If i try to use them together i get the message "Out of range exception". …
Last reply by bri189a,
-
Who's Online 0 Members, 0 Anonymous, 51 Guests (See full list)
- There are no registered users currently online