hello! I got this error when I tried to connect to my db in sql server. > Unable to add data connection. Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version = 10.0.0.0, Culture = neutral, PublicKeyToken = 8945dcd8080cc91' or one of its dependencies. The system cannot find the file specified. Could you help solve this problem? I went to Computer > Local Disk (C:) > Windows > assembly and I didn't found the 'Microsoft.SqlServer...' Please help me! Thank you!

Member Avatar
Member Avatar
+0 forum 2

Hello, I need a code that will check if a certain text exist. This is how it's now: If TextBox2.Text = ".sys\clock" Then TextBox1.Text = TextBox1.Text + Environment.NewLine + ("It's") + DateTime.Now End If and I want to make something like this If TextBox2.Text = ".sys\clock" Then TextBox1.Text = TextBox1.Text + Environment.NewLine + ("It's") + DateTime.Now ElseIf .sys\ does not exist in textbox2 then show an error= Textbox1.text=("You didn't used the .SYS\ code") End If I hope you understand...please, HELP ME ! :-(

Member Avatar
Member Avatar
+0 forum 7

I don't know jack about Visual Studio, and I'd like to keep it that way because I like doing stuff on the command line, I have my preferences. But my teacher uses it to compile and I'm curious what I did wrong because gcc didn't throw anything. So, code (Without header, which just defines constants and function names): #include <allegro.h> #include <stdio.h> #include <stdlib.h> #include "midterm.h" void draw(); BITMAP *sc; SAMPLE *clap, *bounce; int color; void start() { score=0; b.sp = speed; b.rad = radius; p.x = width/2; p.y = height-margin; p.length = paddle_length; num_lives=3; num_blocks = 30; top=0; go=0; …

Member Avatar
Member Avatar
+0 forum 3

Hello, i got this error when i click my button save. Error: .Net SqlClient Data Provider: Conversion failed when converting datetime from character string. please help me... this is my save button code: Private Sub btnSimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim check As Integer Dim conn As SqlClient.SqlConnection Dim cmdStudent As New SqlClient.SqlCommand Dim cmdStudent1 As New SqlClient.SqlCommand Dim daStudent As New SqlClient.SqlDataAdapter Dim dsStudent As New DataSet Dim dtStudent As New DataTable If txtKosPerolehan.Text = "" Or cbTarikhJaminan.Text = "" Or txtAksesori.Text = "" Or cbPembekal.Text = "" Then MsgBox("Penuhkan Borang!", MsgBoxStyle.OkOnly) Else If …

Member Avatar
Member Avatar
+0 forum 2

I am using VS2010 and SQL Server 2005. I have a query to search between dates. Depending on which date I select on the datetimepicker I get no results or limited results, but mostly not all the dates between the two dates I specify. For example, if i select 10/9/2010 on the datetimepicker, the search results are blank. If I select 10/13/2010, then all dates between that date and current date show up. If I select 9/8/2010 or 9/13/2010 on the datetimepicker, I dont get any results. I've tried multiple things and nothing seems to work. My code is below. …

Member Avatar
Member Avatar
+0 forum 2

Hi, I have a problem with an VB aplication programmed in Visual studio 2005. Recently i was upgraded my computer with windows XP to Windows 7 Ultimate (fresh instalation). After that I made reinstallation Visual studio 2005 and service pack 1 for Vista/win7. My problem now is when I run my old VB project (made by same version VS2005 on XP), I can't see anything on form (Form1.vb) of that application. I Can see my code in Form1.Designer.vb and everything is running well, only I can't do any changes on form (editin old or adding new components), because I see …

Member Avatar
Member Avatar
+0 forum 1

The End.