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

Software Development Network >> Recep TARAKÇIOĞLU's Q&A profile

Recep TARAKÇIOĞLU

Member List

jbap01
Hobbit666
bYmulo
A.Russell
tremault
sl0140
tanis15063
markeboyle
zuoliang
Miles Kimball
TaDa
Learning VB
ladydee
Andr&#233&#59; Dias
dclements
sennekeennes
Lee Jensen
eqwang
HeathM
Kaos
Only Title

Recep TARAKÇIOĞLU's Q&A profile

  • Windows Forms ComboBox SelectedValue

    Hi, i have a doubt, I have a combobox and I'm binding it using BindingSource. The problem is that I show in the combobox the name of the field that is in the data base, but I store the key number in the database. My problem is that I can't insert the SelectedValue inside the database and it returns me that this field cannot be null, I really don’t know what to do, any ideas I tried setting the key using ValueMember, but this didn’t worked either. This is when I set the name I want to display and the key behind it. comboBox_grupo.DataSource = grupoBindingSource; comboBox_grupo.DisplayMember = "NomeGrupo" ; comboBox_grupo.ValueMember = "CodGrupo" ; Here I have a table named ...Show All

  • Visual Basic store and retrieve picture from sql server 2000

    I found some good resources on storing and retrieving pictures to sql server database for C#, but haven't found a single thread or example on how to do this with VB. I tried converting the C# code but I keep running into problems when trying to convert this line to VB byte [] bytBLOBData = new byte[fsBLOBFile.Length] I think it would be great if someone wrote up and entire how-to or at least a quick guide for the code to retrieve and store the picture. Below is my entire code but I can't get it quite right. Look at the part where I declare bytBLOBData. Option Explicit On 'Option Strict On Imports System.Net.Mail Imports System.Data Imports System.Data.SqlClient Imports System.IO Imports System Imports System.Dra ...Show All

  • Windows Forms Flickering when drawing with graphics object

    I usually write game code using directx. i wanted to see how well the graphics object holds up. (not that it's anywhere as powerfull as directx) I'm getting 'flickering' when running the app though. I've read some other threads saying to double buffer. A bit of extra info, i'm rendering out to a picturebox. Here's the code to double buffer the PB. Public Class GW Inherits PictureBox Public Sub New() Me.DoubleBuffered = True End Sub End Class Problem is, whether not i'm doublebuffered, it still flickers. basically, the draw code runs in a loop timed by a performance timer. Draws backgrounds first, then objects from a back to front method. (so things occlude properly) Before the beggining of each loop, it clears the pic ...Show All

  • SQL Server WMI Event Watcher - Pointing directly to a machine name

    Hi, I am using a WMI Event Watcher task to watch for files dropped into a directory over a network drive. It seems to work fine when it is pointed to a physical drive name, but not when I use a machine name. I.e. This works - SELECT * FROM __InstanceCreationEvent WITHIN 10 WHERE TargetInstance ISA "CIM_DirectoryContainsFile" and TargetInstance.GroupComponent= "Win32_Directory.Name=\"C:\\\\temp\\\\folder1\\\\folder2\\\folder3\"" This fails - SELECT * FROM __InstanceCreationEvent WITHIN 10 WHERE TargetInstance ISA "CIM_DirectoryContainsFile" and TargetInstance.GroupComponent= "Win32_Directory.Name=\ \\\\\\\\machineName \\\\folder1\\\\folder2\\\\folder3\ " The failing code do ...Show All

  • Windows Forms Installation Question

    I have created an application in VB 2005 and need to install on several computers. I am a contractor for the state government so I do not have any admin rights on these PC's. So, my question is: What part of my application requires admin rights and what doesn't I had the site admin install it on one machine and it loaded with no errors but when the user logged on it was not available for him. I could really use some help !!!!!!!! I totally understand why I only got one answer on this question. If I had finished reading my VB 2005 book on "Deploying Applications" I wouldn't have had to ask the stupid question but I've always been told that there is no stupid question but evidently there is with t ...Show All

  • Visual Studio Express Editions How to know all ctls and extract Data from running exe program?

    Any VB Express edition example , how to "know" all controls on a window (I mean: any running program that have a form). If I know the program using controls like MSflexGrid, textbox, and labels. I just wanted to extract screen value from the running program. Any solution. So far I only can come out with the following codes, which only can return title of exe program I try to use Microsoft spy++ to know all the running instance names and its properties. I manage to get the class name for the program which I wanted to extract the form data. Following is the progress I can come out. Any other idea please help. Class Name: ThunderRT6FormDC Dim lHwnd As Long Dim sTitle As String, sIncidentNo As String Dim lRet As Long Do   ...Show All

  • Visual Studio 2008 (Pre-release) Need help. Viewport3D view converting to an image file

    Hello, Could anyone help with one task I want to convert a view of Viewport3D to an image file which could be saved on the hard disk. I have tried using RenderTargetBitmap: RenderTargetBitmap bmp = new RenderTargetBitmap(200, 200, 1/200, 1/200, PixelFormats.Pbgra32); bmp .Render(Viewport3D); Image myImage = new Image(); myImage.Source = bmp; But it doesn't work. Could anyone help Thanks in advance. I believe that the problem here is that you've set the DPI to 1/200 (i.e. 200 inches per pixel) when you likely meant to set the DPI to 200 (200 pixels per inch). Please let us know if this helps, if not we can dig deeper. -Adam Smith [MS] ...Show All

  • Visual C++ Working with Objects

    I have been recently starting to use oo objects so that I can use functions within them etc. But When I try and to reference the functions it tells me that I can't do that because it is not any such function. I have arrays of these objects so I try and access they by using the code for example... _blocks :: IsFilled() So when I try and compile this it says that there is no such member of global namespace. Blok.h #pragma once enum _colour { LBlue,BlueRed,Green,Yellow,Grey,Pink,Null }; class Blok { private : int _IsFilled; _colour Colour; public : Blok( void ); int Set_IsFilled( int yesno); int IsFilled( void ); int Set_Colour(_colour CColour); ...Show All

  • Visual Studio Team System Find all work items assigned to users of a group

    Is it possible to build a query that returns all work items assigned to users of a specific group E.g.: "AssignedTo" In "[Project]\Developers". I would rather not have to specify all members of this group in the query. Thanks. Is there no mechanism to utilize a custom macro The directions in the WIQL are a little vague. I'm curious to see if there is a mechanism to get the values via the context parameter which means it would need to be in the context dictionary. Hmmm... Having to change the query everytime a member of a group changes is problematic at best. ...Show All

  • Windows Forms setting DataGridView.CurrentCell threw IndexOutOfRangeException error

    Hi Everyone, I am trying to set the CurrentCell property with a DGV and it is throwing an IndexOutOfRange Error System.IndexOutOfRangeException was unhandled by user code Message="Index -1 does not have a value." The code is straightforward: foreach ( DataGridViewRow row in grid.Rows) { if (row.DataBoundItem.Equals(dataRow)) { grid.CurrentCell = row.Cells[0]; return row.DataBoundItem; } } the error happens when this line is executed grid.CurrentCell = row.Cells[0]; Just before this row get executed the value of grid.CurrentCell is null and row.Cells[0] is a type of DataGridViewCell. The 'dataRow' object is an object that i am willing to select the current row to in the DGV ...Show All

  • Smart Device Development Can directshow be used on Pocket PC 2003SE?

    I'm trying to write an application for a Dell Axim X50V with Pocket PC 2003SE. The application needs to take images from an attachment camera and stream them into windows media player via network/internet. I was hoping to use Directshow for this but I don't think its compatible with Pocket PC 2003. Can anyone confirm or deny this ...Show All

  • Visual C++ is this the correct/best way to set file size?

    Hello everyone, I have verified that the following approach works to set the size of a file (newly created file) to be 100 bytes, but I am not sure whether it is the correct/best way to have a maximum portability (I need to write code on both Windows and Linux). Could anyone give me any comments [CODE] #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <io.h> #include <stdio.h> int main() { FILE* file = fopen ("foo123", "w+"); fseek (file, 99, SEEK_SET); fprintf (file, "x"); fclose (file); return 0; } [/CODE] thanks in advance, George Thank you Marius! Marius Bancila wrote: George ...Show All

  • Software Development for Windows Vista How to check write pretection if the file virtualization is on???

    Dear All, The problem is, I need to create "real file" on user define directory. But somehow the "file virtualization" will help us to create those file in the "virtual store". Even I have tried CreateFile, fopen it doesn't work to check the write permission. Does it has better way the check the write permission if the file virtualization is on ...Show All

  • SQL Server How to restrict a custom component to be used only in the event handler tab?

    Hi, One of my plan is to develop a custom task compoent to log the errors into the destination provided as paramter to the component. Now how can I restrict the use of this component in the event handler tab only. can something like this be done Also extending this a little further, is the below thing possible The custom component should expose custom properties which should allow the user to add the destinations for logging the errors. It will be a predefined list (window event log, text file, sql table etc) and the user will be allowed to check what all he/she wants. Then if the user has selected sql table then ask for the oledb connection and the table name, if text file is selected the ask for the path of the file. Apology ...Show All

  • Microsoft ISV Community Center Forums ADO Recordsets

    I have a routine in Excel, which pulls data in from a SQL Server database into two ADO Recordsets using two seperate queries. These recordsets contain only 1 field, being customer ID, each with in excess of 65,000 records. I need to compare these two recordsets to establish how many customer IDs are present in one, but not the other and vice versa. Is there some clever way of looping I could use to achieve this The only other thing I can think of is a local query within my module on the two datasets, but is this possible Cheers for any help! Keith Hey man, Oh you have access to the tables... that helps. Generally SQL Server tables are protected and access to the data is through store ...Show All

©2008 Software Development Network